summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorvboxsync <vboxsync@cfe28804-0f27-0410-a406-dd0f0b0b656f>2020-06-03 15:19:37 +0000
committervboxsync <vboxsync@cfe28804-0f27-0410-a406-dd0f0b0b656f>2020-06-03 15:19:37 +0000
commit7b22f74d19f2e8c719f72350039d13bc7c392496 (patch)
tree87da657b08dae35947a5912abdfbed607c4232c0 /configure
parent5beed10f9cb322336f1718e6684867011c434f04 (diff)
downloadVirtualBox-svn-7b22f74d19f2e8c719f72350039d13bc7c392496.tar.gz
configure: Extend LD_LIBRARY_PATH instead of unconditionally overriding it. Helps when Qt is built with unusual dynamic libraries.
git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@84667 cfe28804-0f27-0410-a406-dd0f0b0b656f
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index 566f237d847..103849268fe 100755
--- a/configure
+++ b/configure
@@ -332,8 +332,8 @@ test_execute_path()
local_path="${1}"
## Set this to non-empty to make this test non-fatal.
local_nofail="${2}"
- echo "executing the binary (LD_LIBRARY_PATH=$1)" >> $LOG
- LD_LIBRARY_PATH="${local_path}" $ODIR.tmp_out > $ODIR.test_execute.log 2>&1
+ echo "executing the binary (LD_LIBRARY_PATH=$1:$LD_LIBRARY_PATH)" >> $LOG
+ LD_LIBRARY_PATH="${local_path}:$LD_LIBRARY_PATH" $ODIR.tmp_out > $ODIR.test_execute.log 2>&1
rc=$?
cat $ODIR.test_execute.log | tee -a $LOG
if [ $rc -ne 0 ]; then