Add the system library path so they're always found first.

This commit is contained in:
Adam Boeglin 2011-12-30 10:30:06 -05:00
parent f83f5e14fa
commit 42ce6908b2

View File

@ -25,7 +25,9 @@
# evironment variables that are not user defined. # evironment variables that are not user defined.
################################################################################ ################################################################################
# hack: add addons to $PATH LD_LIBRARY_PATH="/usr/lib:/lib"
# hack: add addons to $LD_LIBRARY_PATH
for i in `find /storage/.xbmc/addons/* -name lib -type d`; do for i in `find /storage/.xbmc/addons/* -name lib -type d`; do
LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$i" LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$i"
done done