[PATCH] build: include xdr cflags for libvirt-admin

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Without this, building on cygwin fails with:

  CC       libvirt_admin_la-libvirt-admin.lo
libvirt-admin.c:25:21: fatal error: rpc/rpc.h: No such file or directory
 #include <rpc/rpc.h>
                     ^

Reported by Yaakov Selkowitz <yselkowi@xxxxxxxxxx>
Signed-off-by: Eric Blake <eblake@xxxxxxxxxx>
---

Pushing under the build-breaker rule.

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

diff --git a/src/Makefile.am b/src/Makefile.am
index d5dd9fb..99b4993 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -2087,6 +2087,7 @@ libvirt_admin_la_CFLAGS = \
 		-I$(srcdir)/admin

 libvirt_admin_la_CFLAGS += \
+		$(XDR_CFLAGS)			\
 		$(CAPNG_CFLAGS)			\
 		$(YAJL_CFLAGS)			\
 		$(SSH2_CFLAGS)			\
-- 
2.4.3

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]