summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2011-04-09 22:50:15 +0100
committerRichard W.M. Jones <rjones@redhat.com>2011-04-09 22:50:15 +0100
commit047173d18683a66cbe8949bc114833984898fed6 (patch)
treef98c0b6a6e51a1034aac63bdb918d6995c65a9f5
parentee212deef690c6bc0bae307a5566b97f49445aaf (diff)
downloadlibguestfs-047173d18683a66cbe8949bc114833984898fed6.tar.gz
libguestfs-047173d18683a66cbe8949bc114833984898fed6.tar.xz
libguestfs-047173d18683a66cbe8949bc114833984898fed6.zip
resize: Link with local copy of guestfs.
-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 $@