Temporarily ignore graphviz.
[goaljobs-goals.git] / config.ml
index 2336537..ddf5524 100644 (file)
--- a/config.ml
+++ b/config.ml
@@ -38,13 +38,20 @@ let libguestfs_localconfigure source =
 # erlang is disabled because it is broken in Rawhide:
 # https://bugzilla.redhat.com/show_bug.cgi?id=1316206
 
+# Add -fPIC to flags otherwise linking OCaml objects fails.
+export CFLAGS=\"-O2 -g -fPIC\"
+export CXXFLAGS=\"$CFLAGS\"
+export LDFLAGS=\"-fPIC\"
+
 %s \\
+  PYTHON=/usr/bin/python3 \\
   --prefix /usr \\
   --disable-static \\
   --with-default-backend=libvirt \\
   --enable-gtk-doc \\
   --disable-golang \\
   --disable-erlang \\
+  --with-virt-v2v-nbdkit-python-plugin=python3 \\
   -C \\
   \"$@\"
 " configure