np2kai: Fix Darwin build
This commit is contained in:
parent
4081a307af
commit
cbd645f4ac
1 changed files with 3 additions and 0 deletions
|
@ -156,6 +156,9 @@ stdenv.mkDerivation rec {
|
|||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
# TODO Remove when bumping past rev22
|
||||
NIX_CFLAGS_COMPILE = lib.optionalString stdenv.hostPlatform.isDarwin "-D_DARWIN_C_SOURCE";
|
||||
|
||||
buildPhase = optionalString enableSDL ''
|
||||
cd sdl2
|
||||
for mkfile in ${sdlMakefiles}; do
|
||||
|
|
Loading…
Reference in a new issue