blob: 5a26440f37b314041f7e14dab4696267ac05368b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
addSDL2Path () {
if [ -e "$1/include/SDL2" ]; then
export SDL2_PATH="$SDL2_PATH $1/include/SDL2"
fi
}
if test -n "$crossConfig"; then
crossEnvHooks+=(addSDL2Path)
else
envHooks+=(addSDL2Path)
fi
|