SDL: fix setup hook

SDL_LIB_PATH needs to contain -L
This commit is contained in:
Jan Tojnar 2019-11-20 03:43:44 +01:00
parent f6b39f852e
commit 44083d9999
No known key found for this signature in database
GPG Key ID: 7FAB2A15F7A607A4

View File

@ -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
}