repo.or.cz
/
NixPkgs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git]
/
pkgs
/
development
/
libraries
/
SDL
/
setup-hook.sh
blob
553e8553a77f427632232203fa2e54345c5bafff
1
addSDLPath
() {
2
if
[
-e
"
$1
/include/SDL"
];
then
3
export
SDL_PATH
=
"
${SDL_PATH-}
${SDL_PATH:+ }
$1
/include/SDL"
4
fi
5
if
[
-e
"
$1
/lib"
];
then
6
export
SDL_LIB_PATH
=
"
${SDL_LIB_PATH-}
${SDL_LIB_PATH:+ }
-L
$1
/lib"
7
fi
8
}
9
10
addEnvHooks
"
$hostOffset
"
addSDLPath