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