Commit 69ca7055 authored by Pierre Villemot's avatar Pierre Villemot Committed by Vincent Laporte
Browse files

Install dllcamlzip.so into the stublibs directory

camlzip installs this file in `site-lib/zip` but dune expects to find it
in `site-lib/stublibs`.
parent fa874c49
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -63,8 +63,6 @@ stdenv.mkDerivation {

  inherit (param) patches;

  createFindlibDestdir = true;

  postPatch =
    param.postPatchInit
    + ''
@@ -78,6 +76,10 @@ stdenv.mkDerivation {
    "allopt"
  ];

  preInstall = ''
    mkdir -p $out/lib/ocaml/${ocaml.version}/site-lib/stublibs
  '';

  postInstall = ''
    ln -s $out/lib/ocaml/${ocaml.version}/site-lib/{,caml}zip
  '';