From 6239d42fdbd15f68442a71563902ac7d51a92fcf Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Fri, 4 Apr 2014 23:52:21 +0100 Subject: targets/dri: use a single version script to restict exported symbols MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Rather than having multiple (almost) identical version scripts use a single one. Cc: Christian König Acked-by: Maarten Lankhorst Signed-off-by: Emil Velikov --- src/gallium/Automake.inc | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/gallium/Automake.inc') diff --git a/src/gallium/Automake.inc b/src/gallium/Automake.inc index f857c1a793d..feed5c32cb0 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 \ -- cgit v1.2.3