mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
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:
@@ -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.
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user