mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-21 12:05:17 +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. (cherry picked from commit c898263826794ffded3301baafcf15d268657021)
This commit is contained in:
parent
d0714c927c
commit
e28cfeb11d
@ -447,7 +447,8 @@ commandhelper_LDADD = $(LDADDS)
|
|||||||
|
|
||||||
virnetmessagetest_SOURCES = \
|
virnetmessagetest_SOURCES = \
|
||||||
virnetmessagetest.c testutils.h testutils.c
|
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)
|
virnetmessagetest_LDADD = ../src/libvirt-net-rpc.la $(LDADDS)
|
||||||
|
|
||||||
virnetsockettest_SOURCES = \
|
virnetsockettest_SOURCES = \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user