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

Kristian Høgsberg hoegsberg at gmail.com
Tue Mar 11 10:11:48 PDT 2014


On Tue, Mar 11, 2014 at 12:01:47AM +0000, Bryce W. Harrington wrote:
> 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>

Thanks Bryce, applied.

Kristian

> ---
>  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
> _______________________________________________
> wayland-devel mailing list
> wayland-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/wayland-devel


More information about the wayland-devel mailing list