[Mesa-dev] [PATCH] targets/opencl: resolve undefined symbols at link time
Emil Velikov
emil.l.velikov at gmail.com
Sun Feb 23 12:30:14 PST 2014
Current automake build does not try to resolve undefined
symbols thus we could end up with a broken library.
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
---
src/gallium/targets/opencl/Makefile.am | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/gallium/targets/opencl/Makefile.am b/src/gallium/targets/opencl/Makefile.am
index 8eec405..91ec067 100644
--- a/src/gallium/targets/opencl/Makefile.am
+++ b/src/gallium/targets/opencl/Makefile.am
@@ -4,6 +4,7 @@ lib_LTLIBRARIES = lib at OPENCL_LIBNAME@.la
lib at OPENCL_LIBNAME@_la_LDFLAGS = \
$(LLVM_LDFLAGS) \
+ -no-undefined \
-version-number 1:0
lib at OPENCL_LIBNAME@_la_LIBADD = \
--
1.9.0
More information about the mesa-dev
mailing list