]> git.xonotic.org Git - xonotic/xonotic.git/commitdiff
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 317946aa7226013e2df2bdddc725442be486ed29..570305f8e23c3d0c00cd98aefa2e2b7fe9b8ec08 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