From 88f17a844b514babfa35f9a5b453654bbfaf701a Mon Sep 17 00:00:00 2001 From: TimePath Date: Sat, 10 Dec 2016 16:33:23 +1100 Subject: [PATCH] Honor LD_LIBRARY_PATH --- misc/tools/all/xonotic.subr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.2