summaryrefslogtreecommitdiffstats
path: root/src/gallium/Automake.inc
diff options
context:
space:
mode:
authorEmil Velikov <emil.l.velikov@gmail.com>2014-04-04 23:52:21 +0100
committerEmil Velikov <emil.l.velikov@gmail.com>2014-05-02 21:48:25 +0100
commit6239d42fdbd15f68442a71563902ac7d51a92fcf (patch)
treec659365775a249266035e1b940294f75f9db08f4 /src/gallium/Automake.inc
parentb8f31dfc22eb90c1703c8d414eedb841c9025f52 (diff)
downloadexternal_mesa3d-6239d42fdbd15f68442a71563902ac7d51a92fcf.zip
external_mesa3d-6239d42fdbd15f68442a71563902ac7d51a92fcf.tar.gz
external_mesa3d-6239d42fdbd15f68442a71563902ac7d51a92fcf.tar.bz2
targets/dri: use a single version script to restict exported symbols
Rather than having multiple (almost) identical version scripts use a single one. Cc: Christian König <christian.koenig@amd.com> Acked-by: Maarten Lankhorst <maarten.lankhorst@canonical.com> Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Diffstat (limited to 'src/gallium/Automake.inc')
-rw-r--r--src/gallium/Automake.inc6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/gallium/Automake.inc b/src/gallium/Automake.inc
index f857c1a..feed5c3 100644
--- a/src/gallium/Automake.inc
+++ b/src/gallium/Automake.inc
@@ -51,15 +51,13 @@ GALLIUM_VIDEO_CFLAGS = \
$(VISIBILITY_CFLAGS)
-DRI_VERSION_SCRIPT ?= $(top_srcdir)/src/gallium/state_trackers/dri/dri.link
-
GALLIUM_DRI_LINKER_FLAGS = \
-shared \
-shrext .so \
-module \
-avoid-version \
- $(GC_SECTIONS) \
- -Wl,--version-script=$(DRI_VERSION_SCRIPT)
+ -Wl,--version-script=$(top_srcdir)/src/gallium/targets/dri.sym \
+ $(GC_SECTIONS)
GALLIUM_VDPAU_LINKER_FLAGS = \
-shared \