summaryrefslogtreecommitdiffstats
path: root/src/mapi/shared-glapi/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'src/mapi/shared-glapi/Makefile.am')
-rw-r--r--src/mapi/shared-glapi/Makefile.am1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mapi/shared-glapi/Makefile.am b/src/mapi/shared-glapi/Makefile.am
index 7e1068fdfec..33a939a90f9 100644
--- a/src/mapi/shared-glapi/Makefile.am
+++ b/src/mapi/shared-glapi/Makefile.am
@@ -11,6 +11,7 @@ libglapi_la_SOURCES = $(MAPI_GLAPI_FILES)
libglapi_la_LIBADD = $(PTHREAD_LIBS) $(SELINUX_LIBS)
libglapi_la_LDFLAGS = \
-no-undefined \
+ $(GC_SECTIONS) \
-Wl,--no-undefined
include $(GLAPI)/gen/glapi_gen.mk