From 7b22f74d19f2e8c719f72350039d13bc7c392496 Mon Sep 17 00:00:00 2001 From: vboxsync Date: Wed, 3 Jun 2020 15:19:37 +0000 Subject: 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 --- configure | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'configure') 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 -- cgit v1.2.1