[PATCH] Link only against rt, as fixed-benchmark isn't runnable by test suite

Bryce W. Harrington b.harrington at samsung.com
Tue Mar 11 11:16:52 PDT 2014


Thanks to feedback from Pekka Paalanen.  Using -lrt instead of
libtest-runner.la still results in successful compilation and no change
in test behavior, and fixed-benchmark still appears to run properly.

Signed-off-by: Bryce Harrington <b.harrington at samsung.com>
---
 Makefile.am |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile.am b/Makefile.am
index f1584d5..bdfabb7 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -175,7 +175,7 @@ resources_test_SOURCES = tests/resources-test.c
 resources_test_LDADD = libtest-runner.la
 
 fixed_benchmark_SOURCES = tests/fixed-benchmark.c
-fixed_benchmark_LDADD = libtest-runner.la
+fixed_benchmark_LDADD = -lrt
 
 os_wrappers_test_SOURCES = tests/os-wrappers-test.c
 os_wrappers_test_LDADD = libtest-runner.la
-- 
1.7.9.5


More information about the wayland-devel mailing list