summary refs log tree commit diff
path: root/gnu/packages/ocaml.scm
diff options
context:
space:
mode:
authorJulien Lepiller <julien@lepiller.eu>2017-01-01 16:49:35 +0100
committerDavid Craven <david@craven.ch>2017-01-04 16:03:00 +0100
commit796a17ab01eb5ac7d49afb57b04eaf928722357a (patch)
tree7fe97437038f28dcb5470babddc31732c136c16c /gnu/packages/ocaml.scm
parent8bd10c1082041ba2b7add31f34abcb2683f76315 (diff)
downloadguix-796a17ab01eb5ac7d49afb57b04eaf928722357a.tar.gz
gnu: ocaml: Add CAML_LD_LIBRARY_PATH search-path.
* gnu/packages/ocaml.scm (ocaml)[native-search-paths]: Add
  CAML_LD_LIBRARY_PATH.

Signed-off-by: David Craven <david@craven.ch>
Diffstat (limited to 'gnu/packages/ocaml.scm')
-rw-r--r--gnu/packages/ocaml.scm5
1 files changed, 4 insertions, 1 deletions
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index ab70eb63de..6ade58d331 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -71,7 +71,10 @@
     (native-search-paths
      (list (search-path-specification
             (variable "OCAMLPATH")
-            (files (list (string-append "lib/ocaml"))))))
+            (files (list "lib/ocaml")))
+           (search-path-specification
+            (variable "CAML_LD_LIBRARY_PATH")
+            (files (list "lib/ocaml/site-lib/stubslibs")))))
     (native-inputs
      `(("perl" ,perl)
        ("pkg-config" ,pkg-config)))