docs: fix instructions for building from git

On current Fedora releases the ocaml modules will fail to
link unless CFLAGS contains -fPIC.

The autogen.sh script only updates the 'gnulib' submodule,
and so the build will fail due to the missing 'common'
submodule. This needs to be manually initialized at checkout.

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
Daniel P. Berrangé
2020-02-24 11:23:25 +00:00
committed by Richard W.M. Jones
parent c7d7b25524
commit 7db041a660

View File

@@ -414,7 +414,8 @@ git.
git clone https://github.com/libguestfs/libguestfs
cd libguestfs
./autogen.sh
git submodule update --init
CFLAGS=-fPIC ./autogen.sh
make
=head1 BUILDING FROM TARBALLS