summaryrefslogtreecommitdiffstats
path: root/src/egl
diff options
context:
space:
mode:
Diffstat (limited to 'src/egl')
-rw-r--r--src/egl/main/Makefile.am1
-rw-r--r--src/egl/wayland/wayland-egl/Makefile.am1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/egl/main/Makefile.am b/src/egl/main/Makefile.am
index 57c9ccd6abb..e4c2539f73c 100644
--- a/src/egl/main/Makefile.am
+++ b/src/egl/main/Makefile.am
@@ -77,6 +77,7 @@ libEGL_la_LDFLAGS = \
-no-undefined \
-version-number 1:0 \
-Wl,-Bsymbolic \
+ $(GC_SECTIONS) \
-Wl,--no-undefined
if HAVE_EGL_PLATFORM_X11
diff --git a/src/egl/wayland/wayland-egl/Makefile.am b/src/egl/wayland/wayland-egl/Makefile.am
index 3c2673a6486..d3fe11769ec 100644
--- a/src/egl/wayland/wayland-egl/Makefile.am
+++ b/src/egl/wayland/wayland-egl/Makefile.am
@@ -11,6 +11,7 @@ libwayland_egl_la_SOURCES = wayland-egl.c
libwayland_egl_la_LDFLAGS = \
-no-undefined \
-version-info 1 \
+ $(GC_SECTIONS) \
-Wl,--no-undefined
TESTS = wayland-egl-symbols-check