[PATCH libinput] test: add missing libunwind cflags to test-litest-selftest

Peter Hutterer peter.hutterer at who-t.net
Thu Jun 11 15:55:30 PDT 2015


On Thu, Jun 11, 2015 at 04:38:02PM +0900, JoonCheol Park wrote:
> Signed-off-by: JoonCheol Park <jooncheol at gmail.com>
> ---
>  test/Makefile.am | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/test/Makefile.am b/test/Makefile.am
> index fc05ff6..6f2e6e4 100644
> --- a/test/Makefile.am
> +++ b/test/Makefile.am
> @@ -113,6 +113,10 @@ test_litest_selftest_SOURCES = litest-selftest.c litest.c litest-int.h litest.h
>  test_litest_selftest_CFLAGS = -DLITEST_DISABLE_BACKTRACE_LOGGING -DLITEST_NO_MAIN
>  test_litest_selftest_LDADD = $(TEST_LIBS)
>  test_litest_selftest_LDFLAGS = -no-install
> +if HAVE_LIBUNWIND
> +test_litest_selftest_LDADD += $(LIBUNWIND_LIBS) -ldl
> +test_litest_selftest_CFLAGS += $(LIBUNWIND_CFLAGS)
> +endif
>  
>  # build-test only
>  test_build_pedantic_c99_SOURCES = build-pedantic.c
> -- 
> 1.9.1

merged, thanks.

Cheers,
   Peter


More information about the wayland-devel mailing list