[Libguestfs] Notes on getting libguestfs to work on Mac OS X

Richard W.M. Jones rjones at redhat.com
Sat Oct 19 22:02:13 UTC 2013


On Thu, Oct 17, 2013 at 03:04:42PM +0100, Richard W.M. Jones wrote:
> - gnulib/lib/error.c: replace - extern char *program_name; -> extern char *program_name = "libguestfs";

A better solution would involve something like this code:

http://anonscm.debian.org/gitweb/?p=dpkg/dpkg.git;a=blob;f=lib/dpkg/progname.c;h=abd5df57b1c3430d031524b159ecbb160f305a4e;hb=HEAD#l60

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Fedora Windows cross-compiler. Compile Windows programs, test, and
build Windows installers. Over 100 libraries supported.
http://fedoraproject.org/wiki/MinGW




More information about the Libguestfs mailing list