{set,unset}_build_vars are not needed in the chroot.

--HG--
extra : convert_revision : 9d6a23fdba12bc1a4ef04d7579b677fb79e64ae9
This commit is contained in:
Juan RP 2008-10-26 00:44:31 +02:00
parent ade1e606bd
commit c658c03ba6

View file

@ -569,6 +569,8 @@ fixup_la_files()
set_build_vars()
{
[ "$XBPS_MASTERDIR" = "/" ] && return 0
LDFLAGS="-L$XBPS_MASTERDIR/usr/lib"
SAVE_LDLIBPATH=$LD_LIBRARY_PATH
LD_LIBRARY_PATH="$XBPS_MASTERDIR/usr/lib"
@ -587,6 +589,8 @@ set_build_vars()
unset_build_vars()
{
[ "$XBPS_MASTERDIR" = "/" ] && return 0
unset LDFLAGS CFLAGS CXXFLAGS CPPFLAGS PKG_CONFIG LD_LIBRARY_PATH
export LD_LIBRARY_PATH=$SAVE_LDLIBPATH
}