python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / development / libraries / SDL / setup-hook.sh
blob553e8553a77f427632232203fa2e54345c5bafff
1 addSDLPath () {
2 if [ -e "$1/include/SDL" ]; then
3 export SDL_PATH="${SDL_PATH-}${SDL_PATH:+ }$1/include/SDL"
4 fi
5 if [ -e "$1/lib" ]; then
6 export SDL_LIB_PATH="${SDL_LIB_PATH-}${SDL_LIB_PATH:+ }-L$1/lib"
7 fi
10 addEnvHooks "$hostOffset" addSDLPath