about summary refs log tree commit diff
path: root/pkgs/development/libraries/SDL
diff options
context:
space:
mode:
authorJan Tojnar <jtojnar@gmail.com>2019-11-20 03:43:44 +0100
committerJan Tojnar <jtojnar@gmail.com>2019-11-20 03:44:14 +0100
commit44083d99992e08019c112ac9743a901d12f9c8c3 (patch)
tree9551de10255a4cdf2f1733026fd9eb19e6b4347d /pkgs/development/libraries/SDL
parentf6b39f852e0a9eb35a7434f02e5579c15519c41c (diff)
SDL: fix setup hook
SDL_LIB_PATH needs to contain -L
Diffstat (limited to 'pkgs/development/libraries/SDL')
-rw-r--r--pkgs/development/libraries/SDL/setup-hook.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/libraries/SDL/setup-hook.sh b/pkgs/development/libraries/SDL/setup-hook.sh
index f3176f3a30456..553e8553a77f4 100644
--- a/pkgs/development/libraries/SDL/setup-hook.sh
+++ b/pkgs/development/libraries/SDL/setup-hook.sh
@@ -3,7 +3,7 @@ addSDLPath () {
     export SDL_PATH="${SDL_PATH-}${SDL_PATH:+ }$1/include/SDL"
   fi
   if [ -e "$1/lib" ]; then
-    export SDL_LIB_PATH="${SDL_LIB_PATH-}${SDL_LIB_PATH:+ }$1/lib"
+    export SDL_LIB_PATH="${SDL_LIB_PATH-}${SDL_LIB_PATH:+ }-L$1/lib"
   fi
 }