admin: set XDR_CFLAGS when building admin server

The XDR_CFLAGS variable is needed when the XDR headers are not
part of the stock glibc install

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
Daniel P. Berrangé 2018-01-31 19:05:32 +00:00
parent 31869efe2a
commit 7090a82041

View File

@ -2335,6 +2335,7 @@ libvirt_driver_admin_la_SOURCES = \
$(NULL)
libvirt_driver_admin_la_CFLAGS = \
$(AM_CFLAGS) \
$(XDR_CFLAGS) \
-I$(top_srcdir)/src/util \
-I$(top_srcdir)/src/admin \
$(NULL)