From 71aa49c397f4c85aee0fd39fcc0c76a41a69e3bc Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 6 May 2010 22:00:43 +0200 Subject: [PATCH] buildvars_func.sh::set_build_vars() append to LD_LIBRARY_PATH no overwrite. --- xbps-src/shutils/buildvars_funcs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xbps-src/shutils/buildvars_funcs.sh b/xbps-src/shutils/buildvars_funcs.sh index 68a21f63add..4211a5f5551 100644 --- a/xbps-src/shutils/buildvars_funcs.sh +++ b/xbps-src/shutils/buildvars_funcs.sh @@ -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"