ocamlPackages.{camlpdf,cpdf}: fix build
This commit is contained in:
parent
a86fa90ff9
commit
acb5655bd6
@ -21,6 +21,12 @@ stdenv.mkDerivation rec {
|
|||||||
EOF
|
EOF
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
makeFlags = with stdenv.lib;
|
||||||
|
optionals (versionAtLeast ocaml.version "4.06") [
|
||||||
|
"OCAMLBCFLAGS+=-unsafe-string"
|
||||||
|
"OCAMLNCFLAGS+=-unsafe-string"
|
||||||
|
];
|
||||||
|
|
||||||
createFindlibDestdir = true;
|
createFindlibDestdir = true;
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
@ -14,6 +14,12 @@ stdenv.mkDerivation {
|
|||||||
buildInputs = [ ocaml findlib ncurses ];
|
buildInputs = [ ocaml findlib ncurses ];
|
||||||
propagatedBuildInputs = [ camlpdf ];
|
propagatedBuildInputs = [ camlpdf ];
|
||||||
|
|
||||||
|
makeFlags = with stdenv.lib;
|
||||||
|
optionals (versionAtLeast ocaml.version "4.06") [
|
||||||
|
"OCAMLBCFLAGS+=-unsafe-string"
|
||||||
|
"OCAMLNCFLAGS+=-unsafe-string"
|
||||||
|
];
|
||||||
|
|
||||||
createFindlibDestdir = true;
|
createFindlibDestdir = true;
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
|
Loading…
Reference in New Issue
Block a user