From: Victor Martinez Date: Fri, 13 Sep 2013 21:25:12 +0000 (+0000) Subject: shadow: fixed FS#53 using lt_sysroot to prioritize our CLFS X-Git-Url: http://gitweb/?a=commitdiff_plain;h=7649a0ac3fa78b6dcf9f3cdafddacbbb23b6079c;p=crossrootfs.git shadow: fixed FS#53 using lt_sysroot to prioritize our CLFS --- diff --git a/shadow/Pkgfile b/shadow/Pkgfile index d570a5e..3766631 100644 --- a/shadow/Pkgfile +++ b/shadow/Pkgfile @@ -15,6 +15,9 @@ build() { echo "ac_cv_func_setpgrp_void=yes" >> config.cache + # Fix first configure to point to the right place + sed "s|lt_sysroot=|lt_sysroot=$CLFS|g" -i aclocal.m4 + ./configure --build=$CHOST \ --host=$CTARGET \ --prefix=/usr \ @@ -28,6 +31,9 @@ build() { --without-audit \ --cache-file=config.cache + # Forcing libtool to prioritize our sysroot + sed "s|lt_sysroot=|lt_sysroot=$CLFS|g" -i libtool + make make DESTDIR=$PKG install