From: Richard Jones Date: Sat, 17 Apr 2010 15:22:53 +0000 (+0100) Subject: Add compilation/linking example to guestfs(3) man page. X-Git-Tag: 1.3.4~8 X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=commitdiff_plain;h=4680c732585b2c2d292f521f393215c7943096fa Add compilation/linking example to guestfs(3) man page. --- diff --git a/src/guestfs.pod b/src/guestfs.pod index 1c7a02a..a566b71 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.