2016-08-22 04:24:32 +01: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 04:24:32 +01:00
|
|
|
fi
|
|
|
|
}
|
|
|
|
|
2017-08-10 23:22:07 +01:00
|
|
|
addEnvHooks "$hostOffset" addSDL2Path
|