From: Pavel Hrdina Date: Sun, 22 May 2016 13:23:08 +0000 (+0200) Subject: makefile: fix build on systems where gnutls is not in /usr/include X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=9db7308502ffc98a09deee4468e02df3a0b76ec7;p=libvirt.git makefile: fix build on systems where gnutls is not in /usr/include 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 --- diff --git a/src/Makefile.am b/src/Makefile.am index 314f6df960..12b66c26d0 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -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) \