]> xenbits.xensource.com Git - libvirt.git/commitdiff
makefile: fix build on systems where gnutls is not in /usr/include
authorPavel Hrdina <phrdina@redhat.com>
Sun, 22 May 2016 13:23:08 +0000 (15:23 +0200)
committerPavel Hrdina <phrdina@redhat.com>
Tue, 24 May 2016 11:30:01 +0000 (13:30 +0200)
We need to append GNUTLS_CFLAGS while building utils because virtcrypto
is using it.  This fixes build on freebsd where gnutuls is in
/usr/local/include.

Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
src/Makefile.am

index 314f6df960426fb855087d49e60f34f6dfb4a2f2..12b66c26d0f8da5e67b82f89c27033f12e0688e4 100644 (file)
@@ -1106,7 +1106,7 @@ libvirt_util_la_SOURCES =                                 \
 libvirt_util_la_CFLAGS = $(CAPNG_CFLAGS) $(YAJL_CFLAGS) $(LIBNL_CFLAGS) \
                $(AM_CFLAGS) $(AUDIT_CFLAGS) $(DEVMAPPER_CFLAGS) \
                $(DBUS_CFLAGS) $(LDEXP_LIBM) $(NUMACTL_CFLAGS)  \
-               $(SYSTEMD_DAEMON_CFLAGS) $(POLKIT_CFLAGS) \
+               $(SYSTEMD_DAEMON_CFLAGS) $(POLKIT_CFLAGS) $(GNUTLS_CFLAGS) \
                -I$(srcdir)/conf
 libvirt_util_la_LIBADD = $(CAPNG_LIBS) $(YAJL_LIBS) $(LIBNL_LIBS) \
                $(THREAD_LIBS) $(AUDIT_LIBS) $(DEVMAPPER_LIBS) \