mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-21 21:23:06 +00:00
8 lines
159 B
Bash
8 lines
159 B
Bash
addSDLPath () {
|
|
if [ -e "$1/include/SDL" ]; then
|
|
export SDL_PATH="${SDL_PATH-}${SDL_PATH:+ }$1/include/SDL"
|
|
fi
|
|
}
|
|
|
|
addEnvHooks "$hostOffset" addSDLPath
|