egl-static: Only export necessary symbols v3

This fixes a crash in glamor when mesa links against static LLVM.

v2:
  - Inline LINKER_SCRIPT variable

v3: Kai Wasserbäch
  - Fix out out-of-tree-builds

Tested-by: Kai Wasserbäch <kai@dev.carbon-project.or>
This commit is contained in:
Tom Stellard
2013-10-23 16:02:16 -04:00
parent cb080a10b6
commit 594fa4a208
2 changed files with 5 additions and 0 deletions
@@ -30,6 +30,8 @@
#
include $(top_srcdir)/src/gallium/Automake.inc
LDFLAGS += -Wl,$(top_srcdir)/src/gallium/targets/egl-static/egl.link
AM_CFLAGS = $(PTHREAD_CFLAGS)
AM_CPPFLAGS = \
$(GALLIUM_CFLAGS) \
+3
View File
@@ -0,0 +1,3 @@
VERSION {
{ global: _eglMain; local: *; };
};