xcbuild: fix build on darwin
This commit is contained in:
parent
a38c8ab6d1
commit
2444738dae
1 changed files with 3 additions and 0 deletions
|
@ -40,6 +40,9 @@ in stdenv.mkDerivation rec {
|
|||
postPatch = stdenv.lib.optionalString (!stdenv.isDarwin) ''
|
||||
sed 1i'#include <sys/sysmacros.h>' \
|
||||
-i Libraries/xcassets/Headers/xcassets/Slot/SystemVersion.h
|
||||
'' + stdenv.lib.optionalString stdenv.isDarwin ''
|
||||
substituteInPlace Libraries/libcar/Sources/Rendition.cpp \
|
||||
--replace "#if HAVE_LIBCOMPRESSION" "#if 0"
|
||||
'';
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
|
Loading…
Reference in a new issue