summaryrefslogtreecommitdiff
path: root/gnu/packages/ocaml.scm
diff options
context:
space:
mode:
authorJulien Lepiller <julien@lepiller.eu>2019-06-06 15:08:29 +0200
committerJulien Lepiller <julien@lepiller.eu>2019-06-06 15:10:31 +0200
commit38f06188dff161a36a0dcdcfea0f9c356a0d774c (patch)
tree36395c7b0647a8826eeb7df5278548fd77bf3601 /gnu/packages/ocaml.scm
parent08c2fb8fe96db4fffca70b130c84d6651fc155cb (diff)
downloadpatches-38f06188dff161a36a0dcdcfea0f9c356a0d774c.tar
patches-38f06188dff161a36a0dcdcfea0f9c356a0d774c.tar.gz
gnu: ocaml-num: Make stublibs a directory.
* gnu/packages/ocaml.scm (ocaml-num)[arguments]: Fix 'fix-stublibs phase.
Diffstat (limited to 'gnu/packages/ocaml.scm')
-rw-r--r--gnu/packages/ocaml.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 338f98030a..08b4fcf2b0 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -697,7 +697,8 @@ written in Objective Caml.")
(lambda* (#:key outputs #:allow-other-keys)
(format #t "~a~%" (find-files "." ".*.so"))
(let ((stubdir (string-append (assoc-ref outputs "out")
- "/lib/ocaml/site-lib")))
+ "/lib/ocaml/site-lib/stublibs")))
+ (delete-file stubdir)
(mkdir-p stubdir)
(install-file "src/dllnums.so" stubdir))
#t)))))