mllib, customize: Don't add -g option to ocamlmklib command line.

ocamlmklib -g does not work in OCaml 4.01.0.  It does work (and is
desirable) in OCaml 4.02.2.  However since we would like to support
back to OCaml 3.11, we cannot use it.
This commit is contained in:
Richard W.M. Jones
2016-07-19 21:41:07 +01:00
parent 08a7c5c47b
commit fb1e9267fe
2 changed files with 2 additions and 2 deletions

View File

@@ -131,7 +131,7 @@ endif
libcustomize_a_DEPENDENCIES = $(OBJECTS)
$(CUSTOMIZE_CMA): $(OBJECTS) libcustomize.a
$(OCAMLFIND) mklib -g $(OCAMLPACKAGES) \
$(OCAMLFIND) mklib $(OCAMLPACKAGES) \
$(OBJECTS) $(libcustomize_a_OBJECTS) -o customize
# Build the virt-customize program.

View File

@@ -143,7 +143,7 @@ endif
libmllib_a_DEPENDENCIES = $(OBJECTS)
$(MLLIB_CMA): $(OBJECTS) libmllib.a
$(OCAMLFIND) mklib -g $(OCAMLPACKAGES) \
$(OCAMLFIND) mklib $(OCAMLPACKAGES) \
$(OBJECTS) $(libmllib_a_OBJECTS) -o mllib
# This OCaml module has to be generated by make (configure will put