projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix build for darwin
[mesa.git]
/
src
/
gallium
/
targets
/
opencl
/
Makefile.am
diff --git
a/src/gallium/targets/opencl/Makefile.am
b/src/gallium/targets/opencl/Makefile.am
index 29909da29f2bce5435b34ce15ece48e4e04b3da0..f8c591d62817b1fba242e8ddb71b1cabefb77cc1 100644
(file)
--- a/
src/gallium/targets/opencl/Makefile.am
+++ b/
src/gallium/targets/opencl/Makefile.am
@@
-6,6
+6,9
@@
lib@OPENCL_LIBNAME@_la_LDFLAGS = \
$(LLVM_LDFLAGS) \
-no-undefined \
-version-number 1:0 \
+if HAVE_LD_VERSION_SCRIPT
+ -Wl,--version-script=$(top_srcdir)/src/gallium/targets/opencl/opencl.sym \
+endif
$(GC_SECTIONS) \
$(LD_NO_UNDEFINED)