aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Gross2014-01-16 17:29:39 -0500
committerPierre Boutillier2014-01-18 11:56:30 +0100
commit22bd27a46f6c91f2c74945333547e4657dcd1428 (patch)
tree3676981d9ec69f0e1e18c361181d33bad3550365
parent151508e04e56e1d090b22101b277803ec5d45815 (diff)
Makefiles use $(foo), not $foo, for variables
Also, we need :=, so that it's evaluated immediately, rather than becoming a self-recursive variable. This fixes the "Undefined variable 'C'" error that make keeps spewing.
-rw-r--r--configure.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ml b/configure.ml
index 312d442bc9..50ad264993 100644
--- a/configure.ml
+++ b/configure.ml
@@ -861,7 +861,7 @@ let config_runtime () =
sprintf "-dllib -lcoqrun -dllpath '%s/kernel/byterun'" coqtop
| _ ->
let ld="CAML_LD_LIBRARY_PATH" in
- build_loadpath := sprintf "export %s='%s/kernel/byterun':$%s" ld coqtop ld;
+ build_loadpath := sprintf "export %s:='%s/kernel/byterun':$(%s)" ld coqtop ld;
sprintf "-dllib -lcoqrun -dllpath '%s'" libdir
let coqrunbyteflags = config_runtime ()