aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/targets/egl-static
diff options
context:
space:
mode:
authorTom Stellard <[email protected]>2013-11-12 11:29:21 -0800
committerTom Stellard <[email protected]>2013-11-18 12:19:04 -0800
commit17930a66aad6774224296ad9c845d30e01e4ffe5 (patch)
treec642731b23ee72f61dd467324edbc2665c04e9b4 /src/gallium/targets/egl-static
parenta84dd2398f75c672293122408828ac66bb7052a0 (diff)
gallium: Pass version scripts to linker using --version-script=
This fixes build failures with the gold linker. CC: "10.0" <[email protected]>
Diffstat (limited to 'src/gallium/targets/egl-static')
-rw-r--r--src/gallium/targets/egl-static/Makefile.am2
-rw-r--r--src/gallium/targets/egl-static/egl.link2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/targets/egl-static/Makefile.am b/src/gallium/targets/egl-static/Makefile.am
index 760c477148d..fdd5a1d067a 100644
--- a/src/gallium/targets/egl-static/Makefile.am
+++ b/src/gallium/targets/egl-static/Makefile.am
@@ -30,7 +30,7 @@
#
include $(top_srcdir)/src/gallium/Automake.inc
-LDFLAGS += -Wl,$(top_srcdir)/src/gallium/targets/egl-static/egl.link
+LDFLAGS += -Wl,--version-script=$(top_srcdir)/src/gallium/targets/egl-static/egl.link
AM_CFLAGS = $(PTHREAD_CFLAGS)
AM_CPPFLAGS = \
diff --git a/src/gallium/targets/egl-static/egl.link b/src/gallium/targets/egl-static/egl.link
index 78d155df01a..5be917fdcde 100644
--- a/src/gallium/targets/egl-static/egl.link
+++ b/src/gallium/targets/egl-static/egl.link
@@ -1,3 +1,3 @@
VERSION {
-{ global: _eglMain; local: *; };
+ global: _eglMain; local: *;
};