gnu: ocaml-num: Make stublibs a directory.
* gnu/packages/ocaml.scm (ocaml-num)[arguments]: Fix 'fix-stublibs phase.
This commit is contained in:
parent
08c2fb8fe9
commit
38f06188df
|
@ -697,7 +697,8 @@ written in Objective Caml.")
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
(format #t "~a~%" (find-files "." ".*.so"))
|
(format #t "~a~%" (find-files "." ".*.so"))
|
||||||
(let ((stubdir (string-append (assoc-ref outputs "out")
|
(let ((stubdir (string-append (assoc-ref outputs "out")
|
||||||
"/lib/ocaml/site-lib")))
|
"/lib/ocaml/site-lib/stublibs")))
|
||||||
|
(delete-file stubdir)
|
||||||
(mkdir-p stubdir)
|
(mkdir-p stubdir)
|
||||||
(install-file "src/dllnums.so" stubdir))
|
(install-file "src/dllnums.so" stubdir))
|
||||||
#t)))))
|
#t)))))
|
||||||
|
|
Loading…
Reference in New Issue