saving prior LD_LIBRARY_PATH now instead of whack
authorChris Koeritz <koeritz@gmail.com>
Fri, 23 Aug 2019 21:31:05 +0000 (17:31 -0400)
committerChris Koeritz <koeritz@gmail.com>
Fri, 23 Aug 2019 21:31:05 +0000 (17:31 -0400)
scripts/generator/build_variables.sh

index eb3a56605c3c60ffe6d95567b14060b91649c699..8c324acc5c61b98862fb7c4f38cf2269d1aadc17 100644 (file)
@@ -208,7 +208,7 @@ if [ -z "$got_bad" ]; then
   if [ "$OPERATING_SYSTEM" == "WIN32" ]; then
     source "$BUILD_SCRIPTS_PATH/vis_stu_vars.sh"
   else
-    export LD_LIBRARY_PATH="$TARGETS_STORE"
+    export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$TARGETS_STORE"
   fi
   
   popd &>/dev/null # checking is over, jump back to the starting point.