buildvars_func.sh::set_build_vars() append to LD_LIBRARY_PATH no overwrite.

This commit is contained in:
Juan RP 2010-05-06 22:00:43 +02:00
parent 47d69ace38
commit 71aa49c397
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ set_build_vars()
{
if [ -z "$in_chroot" ]; then
SAVE_LDLIBPATH=$LD_LIBRARY_PATH
LD_LIBRARY_PATH="$XBPS_MASTERDIR/usr/lib"
LD_LIBRARY_PATH="$XBPS_MASTERDIR/usr/lib:$LD_LIBRARY_PATH"
PKG_CONFIG="$XBPS_MASTERDIR/usr/bin/pkg-config"
PKG_CONFIG_LIBDIR="$XBPS_MASTERDIR/usr/lib/pkgconfig"
LDFLAGS="-L$XBPS_MASTERDIR/usr/lib"