aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGaëtan Gilbert2019-03-08 13:51:13 +0100
committerGaëtan Gilbert2019-03-11 13:36:30 +0100
commit3597a7f32fa1e01504adcd34fed4927c15edbda4 (patch)
treece687093b0fe8dfa9add5d6c9f037724ce364f9d
parent74534f84a782f5de740c52cb97b3ca3a02eb6aa2 (diff)
Fix undefined gramlib_MLLIB_DEPENDENCIES in make install
-rw-r--r--Makefile.build3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile.build b/Makefile.build
index 8b989f161a..2e4700be88 100644
--- a/Makefile.build
+++ b/Makefile.build
@@ -620,6 +620,9 @@ gramlib/.pack/gramlib.cmxa: $(GRAMOBJS:.cmo=.cmx) gramlib/.pack/gramlib.cmx
$(SHOW)'OCAMLOPT -a -o $@'
$(HIDE)$(OCAMLOPT) $(MLINCLUDES) $(OPTFLAGS) -a -o $@ $^
+# used by install
+gramlib/.pack/gramlib_MLLIB_DEPENDENCIES:=$(GRAMFILES)
+
# Specific rule for kernel.cma, with $(VMBYTEFLAGS).
# This helps loading dllcoqrun.so during an ocamldebug
kernel/kernel.cma: kernel/kernel.mllib