nixpkgs/pkgs/development/libraries/SDL/setup-hook.sh

8 lines
143 B
Bash
Raw Normal View History

addSDLPath () {
if [ -e "$1/include/SDL" ]; then
export SDL_PATH="$SDL_PATH $1/include/SDL"
fi
}
addEnvHooks "$hostOffset" addSDLPath