aboutsummaryrefslogtreecommitdiffstats
path: root/src/mapi/es2api/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'src/mapi/es2api/Makefile.am')
-rw-r--r--src/mapi/es2api/Makefile.am1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mapi/es2api/Makefile.am b/src/mapi/es2api/Makefile.am
index 1fb6d7c9604..e694a36e5d3 100644
--- a/src/mapi/es2api/Makefile.am
+++ b/src/mapi/es2api/Makefile.am
@@ -51,6 +51,7 @@ libGLESv2_la_LIBADD = $(GLESv2_LIB_DEPS)
libGLESv2_la_LDFLAGS = \
-no-undefined \
-version-number 2 \
+ $(GC_SECTIONS) \
-Wl,--no-undefined
if HAVE_SHARED_GLAPI