From ae12f0feb0978eb1f511482293b1d1a20fb04ee4 Mon Sep 17 00:00:00 2001 From: Robert Norton Date: Thu, 26 Apr 2018 13:25:35 +0100 Subject: Make ocamlbuild assume lem is in path instead of relative to current directory. --- src/myocamlbuild.ml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src') diff --git a/src/myocamlbuild.ml b/src/myocamlbuild.ml index 6ee0e963..f408703f 100644 --- a/src/myocamlbuild.ml +++ b/src/myocamlbuild.ml @@ -66,10 +66,7 @@ let split ch s = go s (* paths relative to _build *) -let lem_dir = - try Sys.getenv "LEM_DIR" (* LEM_DIR must contain an absolute path *) - with Not_found -> "../../../lem" ;; -let lem = lem_dir / "lem" ;; +let lem = "lem" ;; (* All -wl ignores should be removed if you want to see the pattern compilation, exhaustive, and unused var warnings *) let lem_opts = [A "-lib"; P "../gen_lib"; -- cgit v1.2.3