Add compilation/linking example to guestfs(3) man page.
[libguestfs.git] / src / guestfs.pod
index 1c7a02a..a566b71 100644 (file)
@@ -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.