mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-22 11:22:23 +00:00
tests: eventtest: fix LDADD
Don't explicitly LDADD -lrt, use $(LIB_CLOCK_GETTIME) because not all platforms have clock_gettime(2) and librt available.
This commit is contained in:
parent
e4cb660160
commit
0d1c147f60
@ -1310,7 +1310,7 @@ endif WITH_DRIVER_MODULES
|
|||||||
if WITH_LIBVIRTD
|
if WITH_LIBVIRTD
|
||||||
eventtest_SOURCES = \
|
eventtest_SOURCES = \
|
||||||
eventtest.c testutils.h testutils.c
|
eventtest.c testutils.h testutils.c
|
||||||
eventtest_LDADD = -lrt $(LDADDS)
|
eventtest_LDADD = $(LIB_CLOCK_GETTIME) $(LDADDS)
|
||||||
endif WITH_LIBVIRTD
|
endif WITH_LIBVIRTD
|
||||||
|
|
||||||
libshunload_la_SOURCES = shunloadhelper.c
|
libshunload_la_SOURCES = shunloadhelper.c
|
||||||
|
Loading…
x
Reference in New Issue
Block a user