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(a)redhat.com +1-919-301-3266
Libvirt virtualization library
http://libvirt.org