[libvirt] [PATCH] rpc: add $(SASL_CFLAGS) to libvirt_net_rpc_server_la_CFLAGS

Daniel P. Berrangé berrange at redhat.com
Fri Jun 21 14:41:55 UTC 2019


The files for libvirt-net-rpc-server.la refernce the sasl/sasl.h
system header but never used the $(SASL_CFLAGS) variable. This
was never noticed previously because the $(AVAHI_CLFAGS) were
set and these typically pulled in the same include directory.

When mDNS/Avahi support was removed this exposed the bug which
caused FreeBSD builds to break as /usr/local/include was no
longer searched for headers.

Signed-off-by: Daniel P. Berrangé <berrange at redhat.com>
---

Pushed as a build fix

 src/rpc/Makefile.inc.am | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/rpc/Makefile.inc.am b/src/rpc/Makefile.inc.am
index e5b830605a..b8ca53c69a 100644
--- a/src/rpc/Makefile.inc.am
+++ b/src/rpc/Makefile.inc.am
@@ -111,6 +111,7 @@ libvirt_net_rpc_server_la_SOURCES = \
 libvirt_net_rpc_server_la_CFLAGS = \
 	$(DBUS_CFLAGS) \
 	$(XDR_CFLAGS) \
+	$(SASL_CFLAGS) \
 	$(AM_CFLAGS) \
 	$(NULL)
 libvirt_net_rpc_server_la_LDFLAGS = \
-- 
2.21.0




More information about the libvir-list mailing list