frama-c: link to the apron library
This commit is contained in:
12
pkgs/development/tools/analysis/frama-c/dynamic.diff
Normal file
12
pkgs/development/tools/analysis/frama-c/dynamic.diff
Normal file
@@ -0,0 +1,12 @@
|
||||
--- a/src/kernel_services/plugin_entry_points/dynamic.ml 2016-05-30 16:15:22.000000000 +0200
|
||||
+++ b/src/kernel_services/plugin_entry_points/dynamic.ml 2016-10-13 18:25:31.000000000 +0200
|
||||
@@ -287,7 +287,8 @@
|
||||
(List.fold_right (add_dir ~user:false) Config.plugin_dir []) ;
|
||||
let pkgs = ref [] in
|
||||
List.iter (scan_directory pkgs) !load_path ;
|
||||
- let findlib_path = String.concat ":" !load_path in
|
||||
+ let findlib_path = String.concat ":" (!load_path @
|
||||
+ try [Sys.getenv "OCAMLPATH"] with Not_found -> []) in
|
||||
Klog.debug ~dkey "setting findlib path to %s" findlib_path;
|
||||
Findlib.init ~env_ocamlpath:findlib_path ();
|
||||
load_packages (List.rev !pkgs) ;
|
||||
Reference in New Issue
Block a user