diff options
author | 2012-07-21 08:02:22 -0500 | |
---|---|---|
committer | 2012-07-24 14:59:48 -0600 | |
commit | 90fcbb9f7c1d98b8ef5f603a7c0fb4d979a62863 (patch) | |
tree | dccd85a69583145fe95b914a8f05d407c3ffa3d3 /daemon | |
parent | virsh: fixed domdisplay command (diff) | |
download | libvirt-90fcbb9f7c1d98b8ef5f603a7c0fb4d979a62863.tar.gz libvirt-90fcbb9f7c1d98b8ef5f603a7c0fb4d979a62863.tar.bz2 libvirt-90fcbb9f7c1d98b8ef5f603a7c0fb4d979a62863.zip |
Fix libnl CFLAGS/LIBS inclusion
When using libnl, use the variables pkg-config provides in case there are
additional libraries or CFLAGS required to build it. Specifically if
the libnl headers are not directly in /usr/include.
Diffstat (limited to 'daemon')
-rw-r--r-- | daemon/Makefile.am | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/daemon/Makefile.am b/daemon/Makefile.am index 71e91cd70..74250f6e8 100644 --- a/daemon/Makefile.am +++ b/daemon/Makefile.am @@ -96,7 +96,7 @@ libvirtd_SOURCES = $(DAEMON_SOURCES) #-D_XOPEN_SOURCE=600 -D_XOPEN_SOURCE_EXTENDED=1 -D_POSIX_C_SOURCE=199506L libvirtd_CFLAGS = \ $(LIBXML_CFLAGS) $(GNUTLS_CFLAGS) $(SASL_CFLAGS) \ - $(XDR_CFLAGS) $(POLKIT_CFLAGS) $(DBUS_CFLAGS) \ + $(XDR_CFLAGS) $(POLKIT_CFLAGS) $(DBUS_CFLAGS) $(LIBNL_CFLAGS) \ $(WARN_CFLAGS) \ $(COVERAGE_CFLAGS) \ -DQEMUD_PID_FILE="\"$(QEMUD_PID_FILE)\"" \ @@ -111,7 +111,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 |