targets/egl-static: freshen up the version script
authorEmil Velikov <emil.l.velikov@gmail.com>
Sat, 5 Apr 2014 17:03:05 +0000 (18:03 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Fri, 2 May 2014 20:48:26 +0000 (21:48 +0100)
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>
src/gallium/targets/egl-static/Makefile.am
src/gallium/targets/egl-static/egl.link [deleted file]
src/gallium/targets/egl-static/egl.sym [new file with mode: 0644]

index 221cb712d70e12c5a6728ce3ce94b262d4ece324..1aa5d37b7f03b1dff492c272a0faf6a4e9cc1c14 100644 (file)
@@ -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 (file)
index 5be917f..0000000
+++ /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 (file)
index 0000000..3fe7d67
--- /dev/null
@@ -0,0 +1,6 @@
+{
+       global:
+               _eglMain;
+       local:
+               *;
+};