summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--resize/Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/resize/Makefile.am b/resize/Makefile.am
index 1d341d8b..3740a4a9 100644
--- a/resize/Makefile.am
+++ b/resize/Makefile.am
@@ -42,12 +42,12 @@ OBJECTS = \
bin_SCRIPTS = virt-resize
-OCAMLPACKAGES = -package guestfs,pcre
+OCAMLPACKAGES = -package pcre -I ../ocaml
OCAMLCFLAGS = -g -warn-error CDEFLMPSUVYZX $(OCAMLPACKAGES)
OCAMLOPTFLAGS = $(OCAMLCFLAGS)
virt-resize: $(OBJECTS)
- $(OCAMLFIND) ocamlopt $(OCAMLOPTFLAGS) -linkpkg $^ -o $@
+ $(OCAMLFIND) ocamlopt $(OCAMLOPTFLAGS) mlguestfs.cmxa -linkpkg $^ -o $@
.mli.cmi:
$(OCAMLFIND) ocamlc $(OCAMLCFLAGS) -c $< -o $@