[Libguestfs] [PATCH 1/3] ocaml examples: Fix linking line so it uses local library.

Richard W.M. Jones rjones at redhat.com
Mon Mar 22 10:42:27 UTC 2010


-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
libguestfs lets you edit virtual machines.  Supports shell scripting,
bindings from many languages.  http://et.redhat.com/~rjones/libguestfs/
See what it can do: http://et.redhat.com/~rjones/libguestfs/recipes.html
-------------- next part --------------
>From 2a41583130dc8ded7d626c5ee5e7e2de9d1dd3d2 Mon Sep 17 00:00:00 2001
From: Richard Jones <rich at koneko.home.annexia.org>
Date: Mon, 22 Mar 2010 10:05:49 +0000
Subject: [PATCH 1/3] ocaml examples: Fix linking line so it uses local library.

---
 ocaml/examples/Makefile.am |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/ocaml/examples/Makefile.am b/ocaml/examples/Makefile.am
index ab058b1..e38a5c8 100644
--- a/ocaml/examples/Makefile.am
+++ b/ocaml/examples/Makefile.am
@@ -10,7 +10,7 @@ if HAVE_OCAML
 
 noinst_SCRIPTS = lvs
 
-OCAMLFINDFLAGS = -ccopt '-L $(top_builddir)/src/.libs'
+OCAMLFINDFLAGS = -cclib -L$(top_builddir)/src/.libs
 
 lvs:	lvs.ml
 	$(OCAMLFIND) ocamlopt $(OCAMLFINDFLAGS) \
-- 
1.6.4.1



More information about the Libguestfs mailing list