summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEmil Velikov <emil.l.velikov@gmail.com>2014-04-05 18:03:05 +0100
committerEmil Velikov <emil.l.velikov@gmail.com>2014-05-02 21:48:26 +0100
commit7b7944ee1cedeaf13867974eb8f217690726c245 (patch)
treee43b1c4e4142b6fa7edcd005010b42de77ca3dd7 /src
parent4eaa3c9b60e363fbbba1508b78f52d26e8c186bf (diff)
downloadexternal_mesa3d-7b7944ee1cedeaf13867974eb8f217690726c245.zip
external_mesa3d-7b7944ee1cedeaf13867974eb8f217690726c245.tar.gz
external_mesa3d-7b7944ee1cedeaf13867974eb8f217690726c245.tar.bz2
targets/egl-static: freshen up the version script
Namely drop the version/name tag of the exported symbol, and rename the filename to egl.sym. v2: Rebase on top of the LD_NO_UNDEFINED changes. Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Diffstat (limited to 'src')
-rw-r--r--src/gallium/targets/egl-static/Makefile.am4
-rw-r--r--src/gallium/targets/egl-static/egl.link3
-rw-r--r--src/gallium/targets/egl-static/egl.sym6
3 files changed, 8 insertions, 5 deletions
diff --git a/src/gallium/targets/egl-static/Makefile.am b/src/gallium/targets/egl-static/Makefile.am
index 221cb71..1aa5d37 100644
--- a/src/gallium/targets/egl-static/Makefile.am
+++ b/src/gallium/targets/egl-static/Makefile.am
@@ -48,9 +48,9 @@ AM_LDFLAGS = \
-module \
-no-undefined \
-avoid-version \
+ -Wl,--version-script=$(top_srcdir)/src/gallium/targets/egl-static/egl.sym
$(GC_SECTIONS) \
- $(LD_NO_UNDEFINED) \
- -Wl,--version-script=$(top_srcdir)/src/gallium/targets/egl-static/egl.link
+ $(LD_NO_UNDEFINED)
egldir = $(EGL_DRIVER_INSTALL_DIR)
egl_LTLIBRARIES = egl_gallium.la
diff --git a/src/gallium/targets/egl-static/egl.link b/src/gallium/targets/egl-static/egl.link
deleted file mode 100644
index 5be917f..0000000
--- a/src/gallium/targets/egl-static/egl.link
+++ /dev/null
@@ -1,3 +0,0 @@
-VERSION {
- global: _eglMain; local: *;
-};
diff --git a/src/gallium/targets/egl-static/egl.sym b/src/gallium/targets/egl-static/egl.sym
new file mode 100644
index 0000000..3fe7d67
--- /dev/null
+++ b/src/gallium/targets/egl-static/egl.sym
@@ -0,0 +1,6 @@
+{
+ global:
+ _eglMain;
+ local:
+ *;
+};