From 56349dd81401a9dacb8cdbb2b1ed6444d8e4116d Mon Sep 17 00:00:00 2001
From: juergen <juergen@5a81b35b-ba03-0410-adc8-b2c5c5119f08>
Date: Thu, 25 Mar 2010 07:43:34 +0000
Subject: [PATCH] exporting LD_LIBRARY_PATH by default on linux

git-svn-id: https://dng.biozentrum.unibas.ch/svn/openstructure/trunk@1885 5a81b35b-ba03-0410-adc8-b2c5c5119f08
---
 scripts/dng.in     | 4 ++--
 scripts/gipltng.in | 5 ++---
 scripts/ost.in     | 4 ++--
 3 files changed, 6 insertions(+), 7 deletions(-)

diff --git a/scripts/dng.in b/scripts/dng.in
index d0bf67cf2..1a5c4e33e 100755
--- a/scripts/dng.in
+++ b/scripts/dng.in
@@ -25,8 +25,8 @@ SCRIPT_NAME=$0
 BIN_DIR=`dirname $SCRIPT_NAME`
 export DNG_ROOT=$BIN_DIR/..
 export PATH=$BIN_DIR:$PATH
-# set ld_library_path and pythonhome for bundle (commented except in linux bundles)
-#export LD_LIBRARY_PATH=$DNG_ROOT/@LIBDIR@:$LD_LIBRARY_PATH
+export LD_LIBRARY_PATH=$DNG_ROOT/@LIBDIR@:$LD_LIBRARY_PATH
+# set QT_PLUGIN_PATH and pythonhome for bundle (commented except in linux bundles)
 #export PYTHONHOME=$DNG_ROOT
 #export QT_PLUGIN_PATH=$BIN_DIR/plugins
 
diff --git a/scripts/gipltng.in b/scripts/gipltng.in
index 87edb9f48..a989d80b0 100755
--- a/scripts/gipltng.in
+++ b/scripts/gipltng.in
@@ -26,9 +26,8 @@ BIN_DIR=`dirname $SCRIPT_NAME`
 export DNG_ROOT=$BIN_DIR/..
 export PATH=$BIN_DIR:$PATH
 
-# set ld_library_path and pythonhome for bundle (commented except in linux bundles)
-
-#export LD_LIBRARY_PATH=$DNG_ROOT/@LIBDIR@:$LD_LIBRARY_PATH
+export LD_LIBRARY_PATH=$DNG_ROOT/@LIBDIR@:$LD_LIBRARY_PATH
+# set pythonhome for bundle (commented except in linux bundles)
 #export PYTHONHOME=$DNG_ROOT
 
 # store code in shell variable. Reduces the actuall call to gosty to just one 
diff --git a/scripts/ost.in b/scripts/ost.in
index 3e7597fc1..d3e0cc2de 100755
--- a/scripts/ost.in
+++ b/scripts/ost.in
@@ -28,9 +28,9 @@ export DNG_ROOT="$BIN_DIR/.."
 export PATH=$PATH:"$BIN_DIR"
 export DYLD_FRAMEWORK_PATH="$BIN_DIR/../@LIBDIR@:${DYLD_FRAMEWORK_PATH}"
 export DYLD_LIBRARY_PATH="$BIN_DIR/../@LIBDIR@:${DYLD_LIBRARY_PATH}"
-# set ld_library_path and pythonhome for bundle (commented except in linux bundles)
 
-#export LD_LIBRARY_PATH=$DNG_ROOT/@LIBDIR@:$LD_LIBRARY_PATH
+export LD_LIBRARY_PATH=$DNG_ROOT/@LIBDIR@:$LD_LIBRARY_PATH
+# set QT_PLUGIN_PATH and pythonhome for bundle (commented except in linux bundles)
 #export PYTHONHOME=$DNG_ROOT
 #export QT_PLUGIN_PATH="$BIN_DIR/plugins"
 
-- 
GitLab