Honor LD_LIBRARY_PATH
authorTimePath <andrew.hardaker1995@gmail.com>
Sat, 10 Dec 2016 05:33:23 +0000 (16:33 +1100)
committerTimePath <andrew.hardaker1995@gmail.com>
Sat, 10 Dec 2016 05:33:23 +0000 (16:33 +1100)
misc/tools/all/xonotic.subr

index 317946a..570305f 100644 (file)
@@ -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