X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=config.ml;h=ddf55240d18cf10dadba86ad2dafb00ee5b9022d;hb=refs%2Fheads%2Fmaster;hp=16b350286d7f760315c28dad5843d20359f90c85;hpb=d51a48e93bcac4563dd97761b3581b3c40130934;p=goaljobs-goals.git diff --git a/config.ml b/config.ml index 16b3502..ddf5524 100644 --- a/config.ml +++ b/config.ml @@ -38,6 +38,11 @@ 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 \\