From 42ce6908b219767ac454de6cf2aa851ceef6260c Mon Sep 17 00:00:00 2001 From: Adam Boeglin Date: Fri, 30 Dec 2011 10:30:06 -0500 Subject: [PATCH] Add the system library path so they're always found first. --- packages/sysutils/busybox/profile.d/librarypath.conf | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/sysutils/busybox/profile.d/librarypath.conf b/packages/sysutils/busybox/profile.d/librarypath.conf index 1bf913b61a..42ecd91881 100644 --- a/packages/sysutils/busybox/profile.d/librarypath.conf +++ b/packages/sysutils/busybox/profile.d/librarypath.conf @@ -25,7 +25,9 @@ # 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 LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$i" done