diff options
author | Richard Jones <rjones@redhat.com> | 2009-04-08 22:52:11 +0100 |
---|---|---|
committer | Richard Jones <rjones@redhat.com> | 2009-04-08 22:52:11 +0100 |
commit | 13339826ea01f8dbd581b5d2544e7692171cf386 (patch) | |
tree | d231c776846060f93293d6ee1352d912a2f5d237 /ocaml/Makefile.am | |
parent | 94050e0344685b6916e21581e618ad3e85795008 (diff) | |
download | libguestfs-13339826ea01f8dbd581b5d2544e7692171cf386.tar.gz libguestfs-13339826ea01f8dbd581b5d2544e7692171cf386.tar.xz libguestfs-13339826ea01f8dbd581b5d2544e7692171cf386.zip |
OCaml bindings compile.
Diffstat (limited to 'ocaml/Makefile.am')
-rw-r--r-- | ocaml/Makefile.am | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ocaml/Makefile.am b/ocaml/Makefile.am index 62ffe2bb..ca8a0acd 100644 --- a/ocaml/Makefile.am +++ b/ocaml/Makefile.am @@ -31,10 +31,10 @@ mlguestfs.cmxa: guestfs_c.o guestfs_c_actions.o guestfs.cmx $(OCAMLMKLIB) -o mlguestfs $^ -lguestfs guestfs_c.o: guestfs_c.c - $(CC) $(CFLAGS) -I$(OCAMLLIB) -c $< + $(CC) $(CFLAGS) -I$(OCAMLLIB) -I$(top_builddir)/src -fPIC -Wall -c $< guestfs_c_actions.o: guestfs_c_actions.c - $(CC) $(CFLAGS) -I$(OCAMLLIB) -c $< + $(CC) $(CFLAGS) -I$(OCAMLLIB) -I$(top_builddir)/src -fPIC -Wall -c $< .mli.cmi: $(OCAMLFIND) ocamlc -c $< |