forked from mirrors/nixpkgs
tree-wide: SDL may not have a .dev
This commit is contained in:
parent
47240a3e31
commit
7317302c77
|
@ -6,7 +6,7 @@ let
|
|||
jamenv = ''
|
||||
unset AR
|
||||
'' + (if stdenv.isDarwin then ''
|
||||
export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I${SDL.dev}/include/SDL"
|
||||
export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I${lib.getDev SDL}/include/SDL"
|
||||
export GARGLKINI="$out/Applications/Gargoyle.app/Contents/Resources/garglk.ini"
|
||||
'' else ''
|
||||
export NIX_LDFLAGS="$NIX_LDFLAGS -rpath $out/libexec/gargoyle"
|
||||
|
|
Loading…
Reference in a new issue