summaryrefslogtreecommitdiffstats
path: root/src/gallium/targets/egl-static/Makefile.am
diff options
context:
space:
mode:
authorTom Stellard <[email protected]>2013-10-23 16:02:16 -0400
committerTom Stellard <[email protected]>2013-11-11 17:21:35 -0500
commit594fa4a208b138b0b9b24cc8de62e6681ebb8d21 (patch)
treeaa2dadc84332a1c589ec03e6a6c69ca3733c6be9 /src/gallium/targets/egl-static/Makefile.am
parentcb080a10b68b82467ebb6f62e047f15cd2e5af80 (diff)
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 <[email protected]>
Diffstat (limited to 'src/gallium/targets/egl-static/Makefile.am')
-rw-r--r--src/gallium/targets/egl-static/Makefile.am2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/targets/egl-static/Makefile.am b/src/gallium/targets/egl-static/Makefile.am
index 0b30aeba29f..760c477148d 100644
--- a/src/gallium/targets/egl-static/Makefile.am
+++ b/src/gallium/targets/egl-static/Makefile.am
@@ -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) \