summaryrefslogtreecommitdiff
path: root/src/egl/main
diff options
context:
space:
mode:
authorJon TURNEY <jon.turney@dronecode.org.uk>2012-03-04 16:17:51 +0000
committerEric Anholt <eric@anholt.net>2012-03-05 18:39:29 -0800
commit71f4a960f8e034cc73aaa81b4343101d0046ffb3 (patch)
tree6c527e4f540614306ff96c08ce1eead437e8cb25 /src/egl/main
parentf172eae8b23d0612865895c52af745021ae20a4c (diff)
egl: Use -no-undefined libtool flag
"Use -no-undefined to assure libtool that the library has no unresolved symbols at link time, so that libtool will build a shared library on platforms require that all symbols are resolved when the library is linked." If I had a dollar for every time I wrote this patch, I'd have about $10 :-) Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk> Acked-by: Kenneth Graunke <kenneth@whitecape.org>
Diffstat (limited to 'src/egl/main')
-rw-r--r--src/egl/main/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/egl/main/Makefile.am b/src/egl/main/Makefile.am
index ad1bbdb7532..a8072c18213 100644
--- a/src/egl/main/Makefile.am
+++ b/src/egl/main/Makefile.am
@@ -74,7 +74,7 @@ libEGL_la_SOURCES = \
libEGL_la_LIBADD = \
$(EGL_LIB_DEPS)
-libEGL_la_LDFLAGS = -version-number 1:0
+libEGL_la_LDFLAGS = -version-number 1:0 -no-undefined
if HAVE_EGL_PLATFORM_X11
AM_CFLAGS += -DHAVE_X11_PLATFORM