ocaml-expat: fix build on darwin
This commit is contained in:
parent
b7cb8f3da7
commit
f97d5ae81f
@ -28,7 +28,8 @@ stdenv.mkDerivation rec {
|
||||
substituteInPlace "unittest.ml" \
|
||||
--replace "/home/maas/xml-samples/REC-xml-19980210.xml.txt" "${testcase}"
|
||||
substituteInPlace Makefile --replace "EXPAT_LIBDIR=/usr/local/lib" "EXPAT_LIBDIR=${expat.out}/lib" \
|
||||
substituteInPlace Makefile --replace "EXPAT_INCDIR=/usr/local/include" "EXPAT_INCDIR=${expat.dev}/include" \
|
||||
--replace "EXPAT_INCDIR=/usr/local/include" "EXPAT_INCDIR=${expat.dev}/include" \
|
||||
--replace "gcc" "\$(CC)"
|
||||
'';
|
||||
|
||||
configurePhase = "true"; # Skip configure
|
||||
|
Loading…
Reference in New Issue
Block a user