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

Pekka Paalanen ppaalanen at gmail.com
Tue Mar 11 13:00:53 PDT 2014


On Tue, 11 Mar 2014 18:16:52 +0000
"Bryce W. Harrington" <b.harrington at samsung.com> wrote:

> 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

Yup, this was the intention. :-)


Thanks,
pq


More information about the wayland-devel mailing list