ocamlPackages.gd4o: fix build on darwin and probably on linux
This commit is contained in:
parent
5a99c240a9
commit
a5ffa79932
|
@ -12,6 +12,9 @@ stdenv.mkDerivation rec {
|
|||
buildInputs = [ ocaml findlib libjpeg libpng ];
|
||||
propagatedBuildInputs = [ gd zlib freetype ];
|
||||
|
||||
prePatch = ''
|
||||
substituteInPlace Makefile --replace gcc cc
|
||||
'';
|
||||
|
||||
preInstall = ''
|
||||
mkdir -p $OCAMLFIND_DESTDIR/stublibs
|
||||
|
|
Loading…
Reference in a new issue