Merge pull request #61922 from mnacamura/camlpdf
ocamlPackages.{camlpdf,cpdf}: fix build
This commit is contained in:
commit
2764e7e97a
2 changed files with 12 additions and 0 deletions
|
@ -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 a new issue