@@ -89,15 +89,10 @@ SOURCES_ML = \
8989 builder.ml
9090
9191SOURCES_C = \
92- ../mllib/dev_t-c.c \
93- ../mllib/fsync-c.c \
94- ../mllib/getopt-c.c \
95- ../mllib/uri-c.c \
96- ../mllib/mkdtemp-c.c \
9792 ../customize/perl_edit-c.c \
9893 ../customize/crypt-c.c \
99- ../fish/uri.c \
10094 ../fish/file-edit.c \
95+ ../fish/file-edit.h \
10196 index-scan.c \
10297 index-struct.c \
10398 index-parse.c \
@@ -133,21 +128,6 @@ virt_builder_CFLAGS = \
133128 $(YAJL_CFLAGS )
134129
135130BOBJECTS = \
136- $(OCAML_BYTES_COMPAT_CMO ) \
137- $(top_builddir ) /mllib/libdir.cmo \
138- $(top_builddir ) /mllib/guestfs_config.cmo \
139- $(top_builddir ) /mllib/common_gettext.cmo \
140- $(top_builddir ) /mllib/dev_t.cmo \
141- $(top_builddir ) /mllib/stringMap.cmo \
142- $(top_builddir ) /mllib/getopt.cmo \
143- $(top_builddir ) /mllib/common_utils.cmo \
144- $(top_builddir ) /mllib/fsync.cmo \
145- $(top_builddir ) /mllib/planner.cmo \
146- $(top_builddir ) /mllib/regedit.cmo \
147- $(top_builddir ) /mllib/JSON.cmo \
148- $(top_builddir ) /mllib/URI.cmo \
149- $(top_builddir ) /mllib/mkdtemp.cmo \
150- $(top_builddir ) /mllib/curl.cmo \
151131 $(top_builddir ) /customize/customize_utils.cmo \
152132 $(top_builddir ) /customize/urandom.cmo \
153133 $(top_builddir ) /customize/random_seed.cmo \
@@ -199,11 +179,11 @@ OCAMLFLAGS = $(OCAML_FLAGS) $(OCAML_WARN_ERROR)
199179if !HAVE_OCAMLOPT
200180OBJECTS = $(BOBJECTS )
201181BEST = c
202- OCAMLLINKFLAGS = mlguestfs.cma -custom
182+ OCAMLLINKFLAGS = mlguestfs.cma mllib.cma -custom
203183else
204184OBJECTS = $(XOBJECTS )
205185BEST = opt
206- OCAMLLINKFLAGS = mlguestfs.cmxa
186+ OCAMLLINKFLAGS = mlguestfs.cmxa mllib.cmxa
207187endif
208188
209189virt_builder_DEPENDENCIES = $(OBJECTS ) $(top_srcdir ) /ocaml-link.sh
0 commit comments