[PATCH] tests: Fix build of noinst fixed-benchmark test

Bryce W. Harrington b.harrington at samsung.com
Mon Mar 10 17:01:47 PDT 2014


Solves this build error:

  tests/fixed-benchmark.o: In function `benchmark':
  ./wayland/tests/fixed-benchmark.c:82: undefined reference to `clock_gettime'
  ./wayland/tests/fixed-benchmark.c:84: undefined reference to `clock_gettime'

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

diff --git a/Makefile.am b/Makefile.am
index cb7a186..f1584d5 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -175,6 +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
 
 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