mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06: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:
@@ -1310,7 +1310,7 @@ endif WITH_DRIVER_MODULES
|
||||
if WITH_LIBVIRTD
|
||||
eventtest_SOURCES = \
|
||||
eventtest.c testutils.h testutils.c
|
||||
eventtest_LDADD = -lrt $(LDADDS)
|
||||
eventtest_LDADD = $(LIB_CLOCK_GETTIME) $(LDADDS)
|
||||
endif WITH_LIBVIRTD
|
||||
|
||||
libshunload_la_SOURCES = shunloadhelper.c
|
||||
|
||||
Reference in New Issue
Block a user