From 7649a0ac3fa78b6dcf9f3cdafddacbbb23b6079c Mon Sep 17 00:00:00 2001 From: Victor Martinez Date: Fri, 13 Sep 2013 21:25:12 +0000 Subject: [PATCH] shadow: fixed FS#53 using lt_sysroot to prioritize our CLFS --- shadow/Pkgfile | 6 ++++++ 1 file changed, 6 insertions(+) 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 -- 2.26.2