packages: jitsi/jitsi.sh - setup LD_LIBRARY_PATH for shared libs

glen glen at pld-linux.org
Wed May 11 22:26:39 CEST 2011


Author: glen                         Date: Wed May 11 20:26:39 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- setup LD_LIBRARY_PATH for shared libs

---- Files affected:
packages/jitsi:
   jitsi.sh (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: packages/jitsi/jitsi.sh
diff -u packages/jitsi/jitsi.sh:1.3 packages/jitsi/jitsi.sh:1.4
--- packages/jitsi/jitsi.sh:1.3	Wed May 11 22:12:38 2011
+++ packages/jitsi/jitsi.sh	Wed May 11 22:26:34 2011
@@ -21,12 +21,15 @@
 	CLASSPATH=$CLASSPATH:sc-bundles/$jar
 done
 
-# extra JVM options
+# extra options
 OPTIONS="\
 	-Djna.library.path=$LIBDIR \
 	-Djava.library.path=$LIBDIR \
 	-Dfelix.config.properties=file:lib/felix.client.run.properties \
 	-Djava.util.logging.config.file=lib/logging.properties \
 "
+
+# set add LIBPATH to LD_LIBRARY_PATH for any sc natives (e.g. jmf .so's)
+export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$LIBDIR
 
 run "$@"
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/jitsi/jitsi.sh?r1=1.3&r2=1.4&f=u



More information about the pld-cvs-commit mailing list