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