mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
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:
committed by
Richard W.M. Jones
parent
c7d7b25524
commit
7db041a660
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user