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

JoonCheol Park jooncheol at gmail.com
Thu Jun 11 00:38:02 PDT 2015


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



More information about the wayland-devel mailing list