[libvirt] [PATCH] Fix libnl CFLAGS/LIBS inclusion

Eric Blake eblake at redhat.com
Tue Jul 24 21:27:28 UTC 2012


On 07/21/2012 07:02 AM, Doug Goldstein wrote:
> When using libnl use the variables pkg-config provides incase there are

s/incase/in case/

> additional libraries or CFLAGS required to build it. Specificially if

s/Specificially/Specifically/

> the libnl headers are not directly in /usr/include.
> ---
>  daemon/Makefile.am |    4 +++-
>  1 files changed, 3 insertions(+), 1 deletions(-)

ACK and pushed.

> 
> diff --git a/daemon/Makefile.am b/daemon/Makefile.am
> index 71e91cd..ae14467 100644
> --- a/daemon/Makefile.am
> +++ b/daemon/Makefile.am
> @@ -99,6 +99,7 @@ libvirtd_CFLAGS = \
>  	$(XDR_CFLAGS) $(POLKIT_CFLAGS) $(DBUS_CFLAGS) \
>  	$(WARN_CFLAGS) \
>  	$(COVERAGE_CFLAGS) \
> +	$(LIBNL_CFLAGS) \
>  	-DQEMUD_PID_FILE="\"$(QEMUD_PID_FILE)\"" \
>  	-DREMOTE_PID_FILE="\"$(REMOTE_PID_FILE)\""
>  
> @@ -111,7 +112,8 @@ libvirtd_LDADD =					\
>  	$(GNUTLS_LIBS)					\
>  	$(SASL_LIBS)					\
>  	$(DBUS_LIBS)					\
> -	$(POLKIT_LIBS)
> +	$(POLKIT_LIBS)					\
> +	$(LIBNL_LIBS)
>  
>  if WITH_DTRACE_PROBES
>  libvirtd_LDADD += ../src/libvirt_probes.lo
> 

-- 
Eric Blake   eblake at redhat.com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 620 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20120724/e5b5c37d/attachment-0001.sig>


More information about the libvir-list mailing list