From 796a17ab01eb5ac7d49afb57b04eaf928722357a Mon Sep 17 00:00:00 2001 From: Julien Lepiller Date: Sun, 1 Jan 2017 16:49:35 +0100 Subject: 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 --- gnu/packages/ocaml.scm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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))) -- cgit v1.2.3