Merge branch 'release-2.140.122'
[feisty_meow.git] / scripts / generator / build_variables.sh
index eb3a56605c3c60ffe6d95567b14060b91649c699..3031d317b86ab659da834358d11dd23ccd538c42 100644 (file)
@@ -1,3 +1,5 @@
+#!/bin/bash
+
 ##############
 #
 #  Name   : build variable calculator
@@ -208,7 +210,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.