[Mesa-dev] osmesa: link with libunwind if enabled
Alexandre Demers
alexandre.f.demers at gmail.com
Sat May 20 13:57:11 UTC 2017
Fixes linking error in libOSmesa when using libunwind.
Signed-off-by: Alexandre Demers <alexandre.f.demers at gmail.com>
---
src/gallium/targets/osmesa/Makefile.am | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/gallium/targets/osmesa/Makefile.am b/src/gallium/targets/osmesa/Makefile.am
index 6d340f1d92..2b4af57d5b 100644
--- a/src/gallium/targets/osmesa/Makefile.am
+++ b/src/gallium/targets/osmesa/Makefile.am
@@ -66,7 +66,8 @@ lib at OSMESA_LIB@_la_LIBADD = \
$(top_builddir)/src/mapi/glapi/libglapi.la \
$(SHARED_GLAPI_LIB) \
$(OSMESA_LIB_DEPS) \
- $(CLOCK_LIB)
+ $(CLOCK_LIB) \
+ $(LIBUNWIND_LIBS)
if HAVE_GALLIUM_LLVM
AM_CPPFLAGS += -DGALLIUM_LLVMPIPE
--
2.13.0
More information about the mesa-dev
mailing list