[Libguestfs] [PATCH] use pkg-config to look up ncurses

Richard W.M. Jones rjones at redhat.com
Thu Nov 13 13:28:26 UTC 2014


On Mon, Nov 10, 2014 at 10:47:51PM -0500, Mike Frysinger wrote:
> Hardcoding -ltinfo breaks on distros that do not build the sep library
> (which is the default ncurses behavior).  Use pkg-config to look up the
> right libraries regardless of how the distro built things.

Hi Mike,

ACK.  I pushed this upstream, but I followed it with a separate patch
that does nothing except renames the LIBCURSES* variables to LIBTINFO*.

https://github.com/libguestfs/libguestfs/commit/96add4d5b34daabbae5a2766f564ae98b48cf576
https://github.com/libguestfs/libguestfs/commit/34d685157459c9a649179ae4b313f8b3576696f4

Thanks,

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-df lists disk usage of guests without needing to install any
software inside the virtual machine.  Supports Linux and Windows.
http://people.redhat.com/~rjones/virt-df/




More information about the Libguestfs mailing list