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
toxic: 0.15.1 -> 0.16.0
[NixPkgs.git]
/
pkgs
/
development
/
libraries
/
SDL2
/
setup-hook.sh
blob
0119926491afeb7709fb7327c797f1f1d3818ace
1
addSDL2Path
() {
2
if
[
-e
"
$1
/include/SDL2"
];
then
3
export
SDL2_PATH
=
"
${SDL2_PATH-}
${SDL2_PATH:+ }
$1
/include/SDL2"
4
fi
5
}
6
7
addEnvHooks
"
$hostOffset
"
addSDL2Path