np2kai: Fix Darwin build
This commit is contained in:
parent
4081a307af
commit
cbd645f4ac
@ -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 New Issue
Block a user