Add $(RT_LIBS) to fixed-benchmark LD dependencies
authorMosè Giordano <m.giordano@ucl.ac.uk>
Mon, 16 Sep 2019 00:02:30 +0000 (01:02 +0100)
committerMosè Giordano <m.giordano@ucl.ac.uk>
Tue, 17 Sep 2019 15:38:28 +0000 (16:38 +0100)
`tests/fixed-benchmark.c` calls `clock_gettime`.

Makefile.am

index 868910c..0d76865 100644 (file)
@@ -286,6 +286,7 @@ cpp_compile_test_SOURCES = tests/cpp-compile-test.cpp
 endif
 
 fixed_benchmark_SOURCES = tests/fixed-benchmark.c
+fixed_benchmark_LDADD = $(RT_LIBS)
 
 os_wrappers_test_SOURCES = tests/os-wrappers-test.c
 os_wrappers_test_LDADD = libtest-runner.la