summaryrefslogtreecommitdiffstats
path: root/src/egl
diff options
context:
space:
mode:
Diffstat (limited to 'src/egl')
-rw-r--r--src/egl/main/Makefile.am6
-rw-r--r--src/egl/wayland/wayland-egl/Makefile.am3
2 files changed, 7 insertions, 2 deletions
diff --git a/src/egl/main/Makefile.am b/src/egl/main/Makefile.am
index 46e890a99f6..57c9ccd6abb 100644
--- a/src/egl/main/Makefile.am
+++ b/src/egl/main/Makefile.am
@@ -73,7 +73,11 @@ libEGL_la_SOURCES = \
libEGL_la_LIBADD = \
$(EGL_LIB_DEPS)
-libEGL_la_LDFLAGS = -Wl,-Bsymbolic -version-number 1:0 -no-undefined
+libEGL_la_LDFLAGS = \
+ -no-undefined \
+ -version-number 1:0 \
+ -Wl,-Bsymbolic \
+ -Wl,--no-undefined
if HAVE_EGL_PLATFORM_X11
AM_CFLAGS += -DHAVE_X11_PLATFORM
diff --git a/src/egl/wayland/wayland-egl/Makefile.am b/src/egl/wayland/wayland-egl/Makefile.am
index b8d1634fe56..3c2673a6486 100644
--- a/src/egl/wayland/wayland-egl/Makefile.am
+++ b/src/egl/wayland/wayland-egl/Makefile.am
@@ -10,7 +10,8 @@ noinst_HEADERS = wayland-egl-priv.h
libwayland_egl_la_SOURCES = wayland-egl.c
libwayland_egl_la_LDFLAGS = \
-no-undefined \
- -version-info 1
+ -version-info 1 \
+ -Wl,--no-undefined
TESTS = wayland-egl-symbols-check