diff options
author | Richard Jones <rjones@redhat.com> | 2010-04-17 16:22:53 +0100 |
---|---|---|
committer | Richard Jones <rjones@redhat.com> | 2010-04-17 16:22:53 +0100 |
commit | 4680c732585b2c2d292f521f393215c7943096fa (patch) | |
tree | a0d36bfd69b61f624c968cb28d386ba46ef89134 /src | |
parent | 3297466d33e9f9b73ee806ff2ba90ede1a4a02ab (diff) | |
download | libguestfs-4680c732585b2c2d292f521f393215c7943096fa.tar.gz libguestfs-4680c732585b2c2d292f521f393215c7943096fa.tar.xz libguestfs-4680c732585b2c2d292f521f393215c7943096fa.zip |
Add compilation/linking example to guestfs(3) man page.
Diffstat (limited to 'src')
-rw-r--r-- | src/guestfs.pod | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/guestfs.pod b/src/guestfs.pod index 1c7a02aa..a566b71a 100644 --- a/src/guestfs.pod +++ b/src/guestfs.pod @@ -16,6 +16,10 @@ guestfs - Library for accessing and modifying virtual machine images guestfs_sync (handle); guestfs_close (handle); + cc prog.c -o prog -lguestfs +or: + cc prog.c -o prog `pkg-config libguestfs --cflags --libs` + =head1 DESCRIPTION Libguestfs is a library for accessing and modifying guest disk images. |