gallium: Pass version scripts to linker using --version-script=

This fixes build failures with the gold linker.

CC: "10.0" <mesa-stable@lists.freedesktop.org>
This commit is contained in:
Tom Stellard 2013-11-12 11:29:21 -08:00
parent a84dd2398f
commit 17930a66aa
4 changed files with 4 additions and 4 deletions

View File

@ -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 = \

View File

@ -1,3 +1,3 @@
VERSION {
{ global: _eglMain; local: *; };
global: _eglMain; local: *;
};

View File

@ -22,7 +22,7 @@
include $(top_srcdir)/src/gallium/Automake.inc
LDFLAGS += -Wl,$(top_srcdir)/src/gallium/targets/pipe-loader/pipe.link
LDFLAGS += -Wl,--version-script=$(top_srcdir)/src/gallium/targets/pipe-loader/pipe.link
AM_CPPFLAGS = \
$(GALLIUM_CFLAGS) \

View File

@ -1,3 +1,3 @@
VERSION {
{global: driver_descriptor; local: *; };
global: driver_descriptor; local: *;
};