mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 06:05:27 +00:00
Explicitly link virfirewalltest and virsystemdtest against dbus
This fixes link failures like: CCLD virfirewalltest /usr/bin/ld: virfirewalltest-virfirewalltest.o: undefined reference to symbol 'dbus_message_iter_init_append'
This commit is contained in:
parent
3cee4c05b7
commit
4bdb50376f
@ -963,7 +963,7 @@ virmockdbus_la_LDFLAGS = -module -avoid-version \
|
|||||||
virsystemdtest_SOURCES = \
|
virsystemdtest_SOURCES = \
|
||||||
virsystemdtest.c testutils.h testutils.c
|
virsystemdtest.c testutils.h testutils.c
|
||||||
virsystemdtest_CFLAGS = $(AM_CFLAGS) $(DBUS_CFLAGS)
|
virsystemdtest_CFLAGS = $(AM_CFLAGS) $(DBUS_CFLAGS)
|
||||||
virsystemdtest_LDADD = $(LDADDS)
|
virsystemdtest_LDADD = $(LDADDS) $(DBUS_LIBS)
|
||||||
|
|
||||||
else ! WITH_DBUS
|
else ! WITH_DBUS
|
||||||
EXTRA_DIST += virdbustest.c virmockdbus.c virsystemdtest.c
|
EXTRA_DIST += virdbustest.c virmockdbus.c virsystemdtest.c
|
||||||
@ -1047,7 +1047,7 @@ virfiletest_LDADD = $(LDADDS)
|
|||||||
|
|
||||||
virfirewalltest_SOURCES = \
|
virfirewalltest_SOURCES = \
|
||||||
virfirewalltest.c testutils.h testutils.c
|
virfirewalltest.c testutils.h testutils.c
|
||||||
virfirewalltest_LDADD = $(LDADDS)
|
virfirewalltest_LDADD = $(LDADDS) $(DBUS_LIBS)
|
||||||
virfirewalltest_CFLAGS = $(AM_CFLAGS) $(DBUS_CFLAGS)
|
virfirewalltest_CFLAGS = $(AM_CFLAGS) $(DBUS_CFLAGS)
|
||||||
|
|
||||||
jsontest_SOURCES = \
|
jsontest_SOURCES = \
|
||||||
|
Loading…
Reference in New Issue
Block a user