2016-08-21 20:24:32 -07:00
|
|
|
addSDL2Path () {
|
|
|
|
if [ -e "$1/include/SDL2" ]; then
|
2019-11-07 12:20:02 -08:00
|
|
|
export SDL2_PATH="${SDL2_PATH-}${SDL2_PATH:+ }$1/include/SDL2"
|
2016-08-21 20:24:32 -07:00
|
|
|
fi
|
|
|
|
}
|
|
|
|
|
2017-08-10 15:22:07 -07:00
|
|
|
addEnvHooks "$hostOffset" addSDL2Path
|