mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 21:55:25 +00:00
build: fix build on cygwin
On cygwin, <rpc/rpc.h> lives in a different directory than /usr/include, so anything that uses it must modify CFLAGS. This previously tripped up just 'make check', but now that we build all test programs unconditionally, it also trips up 'make'. * tests/Makefile.am (virnetmessagetest_CFLAGS): Find rpc headers.
This commit is contained in:
parent
287737f413
commit
c898263826
@ -458,7 +458,8 @@ endif
|
||||
|
||||
virnetmessagetest_SOURCES = \
|
||||
virnetmessagetest.c testutils.h testutils.c
|
||||
virnetmessagetest_CFLAGS = -Dabs_builddir="\"$(abs_builddir)\"" $(AM_CFLAGS)
|
||||
virnetmessagetest_CFLAGS = -Dabs_builddir="\"$(abs_builddir)\"" \
|
||||
$(XDR_CFLAGS) $(AM_CFLAGS)
|
||||
virnetmessagetest_LDADD = ../src/libvirt-net-rpc.la $(LDADDS)
|
||||
|
||||
virnetsockettest_SOURCES = \
|
||||
|
Loading…
Reference in New Issue
Block a user