Displaying 2 results from an estimated 2 matches for "90552fb04".
2020 Mar 10
0
[PATCH libguestfs 2/2] build: Allow OCaml programs using libguestfs to be compiled against build dir.
...cture.
+#
+# Note if you just want to use this, make sure you use
+# ‘../libguestfs/run make’ in your other program and everything should
+# just work.
+CLEANFILES += guestfs
+
+all-local: guestfs
+
+guestfs:
+ rm -f $@
+ ln -sf . $@
+
+endif HAVE_OCAML
diff --git a/run.in b/run.in
index 6896d5a2c..90552fb04 100755
--- a/run.in
+++ b/run.in
@@ -227,6 +227,8 @@ export MALLOC_PERTURB_=$random_val
# local libguestfs.
prepend PKG_CONFIG_PATH "$b/lib/local"
export PKG_CONFIG_PATH
+prepend OCAMLPATH "$b/ocaml"
+export OCAMLPATH
# Do we have libtool? If we have it then we can use it...
[PATCH libguestfs 0/2] build: Allow programs using libguestfs to be compiled from against build dir.
2020 Mar 10
6
[PATCH libguestfs 0/2] build: Allow programs using libguestfs to be compiled from against build dir.
These changes allow virt-v2v to be compiled against the build
directory of a non-installed libguestfs.
Note that some small changes are also required to common and virt-v2v
itself. I will post those separately.
Rich.