diff options
author | Richard Jones <rjones@redhat.com> | 2009-04-13 10:27:20 +0100 |
---|---|---|
committer | Richard Jones <rjones@redhat.com> | 2009-04-13 10:27:20 +0100 |
commit | b6722e6313e955ad0c1e4e4ec594c8e74cdd27af (patch) | |
tree | f45760f25c2be59464861cdc4e6fead9bfc562b4 /ocaml | |
parent | 848fd706616ca65be7f74b48b39c95363640a187 (diff) | |
download | libguestfs-b6722e6313e955ad0c1e4e4ec594c8e74cdd27af.tar.gz libguestfs-b6722e6313e955ad0c1e4e4ec594c8e74cdd27af.tar.xz libguestfs-b6722e6313e955ad0c1e4e4ec594c8e74cdd27af.zip |
OCaml bindings build using the installed, not built, library.
Diffstat (limited to 'ocaml')
-rw-r--r-- | ocaml/Makefile.am | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ocaml/Makefile.am b/ocaml/Makefile.am index ee42134b..67f4a15c 100644 --- a/ocaml/Makefile.am +++ b/ocaml/Makefile.am @@ -22,17 +22,17 @@ EXTRA_DIST = \ SUBDIRS = examples -CLEANFILES = *~ +CLEANFILES = *~ *.cmi *.cmo *.cmx *.cma *.cmxa *.o *.a *.so if HAVE_OCAML noinst_DATA = mlguestfs.cma mlguestfs.cmxa META mlguestfs.cma: guestfs_c.o guestfs_c_actions.o guestfs.cmo - $(OCAMLMKLIB) -o mlguestfs $^ -lguestfs + $(OCAMLMKLIB) -o mlguestfs $^ -L$(top_builddir)/src/.libs -lguestfs mlguestfs.cmxa: guestfs_c.o guestfs_c_actions.o guestfs.cmx - $(OCAMLMKLIB) -o mlguestfs $^ -lguestfs + $(OCAMLMKLIB) -o mlguestfs $^ -L$(top_builddir)/src/.libs -lguestfs guestfs_c.o: guestfs_c.c $(CC) $(CFLAGS) -I$(OCAMLLIB) -I$(top_builddir)/src -fPIC -Wall -c $< |