[libvirt] [PATCHv3] build: support libnl-3

Stefan Berger stefanb at linux.vnet.ibm.com
Thu May 3 21:15:05 UTC 2012


On 05/03/2012 04:26 PM, Eric Blake wrote:
> From: Serge Hallyn<serge.hallyn at canonical.com>
>
> configure.ac: check for libnl-3 in addition to libnl-1
>
> src/Makefile.am: link against libnl when needed
>
> src/util/virnetlink.c:
> support libnl3 api.  To minimize impact on code flow, wrap the
> differences under the virNetlink* namespace.
>
> Unfortunately libnl3 moves netlink/msg.h to
> /usr/include/libnl3/netlink/msg.h, so the LIBNL_CFLAGS need to be added
> to a bunch of places where they weren't needed with libnl1.
>
> Signed-off-by: Serge Hallyn<serge.hallyn at canonical.com>
> Signed-off-by: Eric Blake<eblake at redhat.com>
> ---

ACK




More information about the libvir-list mailing list