ocamlPackages.cil: fix build on Darwin

This commit is contained in:
Vincent Laporte 2018-02-21 17:21:11 +00:00
parent ec2e601871
commit c888d97013
No known key found for this signature in database
GPG Key ID: EBD582ADDDB1F81F

View File

@ -11,6 +11,7 @@ stdenv.mkDerivation {
createFindlibDestdir = true; createFindlibDestdir = true;
preConfigure = '' preConfigure = ''
substituteInPlace Makefile.in --replace 'MACHDEPCC=gcc' 'MACHDEPCC=$(CC)'
export FORCE_PERL_PREFIX=1 export FORCE_PERL_PREFIX=1
''; '';
prefixKey = "-prefix="; prefixKey = "-prefix=";