mesa/st/tests: Fix regressions with libunwind enabled introduced with 7be6d8fe12
authorGert Wollny <gw.fossdev@gmail.com>
Wed, 6 Sep 2017 19:24:34 +0000 (21:24 +0200)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Thu, 7 Sep 2017 12:14:02 +0000 (14:14 +0200)
Add the according flags to link with libunwind.

Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=102565
Tested-by: Michel Dänzer <michel.daenzer@amd.com>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/mesa/state_tracker/tests/Makefile.am

index fb64cf9dc2fef137fb8c654ea5190c43270a01b0..12ae7fab1060ece6cf02f657b2435b5daac75e06 100644 (file)
@@ -31,6 +31,7 @@ st_renumerate_test_LDADD = \
        $(top_builddir)/src/util/libmesautil.la \
        $(top_builddir)/src/gtest/libgtest.la \
        $(GALLIUM_COMMON_LIB_DEPS) \
+       $(LIBUNWIND_LIBS) \
        $(LLVM_LIBS) \
        $(PTHREAD_LIBS) \
        $(DLOPEN_LIBS)