From: TimePath Date: Sat, 10 Dec 2016 05:33:23 +0000 (+1100) Subject: Honor LD_LIBRARY_PATH X-Git-Tag: xonotic-v0.8.2~13 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=88f17a844b514babfa35f9a5b453654bbfaf701a;p=xonotic%2Fxonotic.git Honor LD_LIBRARY_PATH --- diff --git a/misc/tools/all/xonotic.subr b/misc/tools/all/xonotic.subr index 317946aa..570305f8 100644 --- a/misc/tools/all/xonotic.subr +++ b/misc/tools/all/xonotic.subr @@ -290,7 +290,7 @@ case "$cmd" in export DYLD_FRAMEWORK_PATH="$d0/misc/buildfiles/osx/Xonotic.app/Contents/Frameworks" client=-sdl else - export LD_LIBRARY_PATH="$d0/d0_blind_id/.libs" + export LD_LIBRARY_PATH="$d0/d0_blind_id/.libs${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}" client=-sdl fi case "$1" in