aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/x11/Makefile.am
diff options
context:
space:
mode:
authorJon TURNEY <[email protected]>2012-07-07 18:01:50 +0100
committerJon TURNEY <[email protected]>2012-07-25 12:38:38 +0100
commit50b13217ba13f569ef851fffcd920e756f255687 (patch)
treec5fb09265467be17baad085961190ce8bc2dcb71 /src/mesa/drivers/x11/Makefile.am
parent491d82e9df9f477ad1afc7ca98eb057f8af58fc4 (diff)
drivers/X11: Link X11 libGL with -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." Signed-off-by: Jon TURNEY <[email protected]> Reviewed-by: Matt Turner <[email protected]> Reviewed-by: Brian Paul <[email protected]> Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/mesa/drivers/x11/Makefile.am')
-rw-r--r--src/mesa/drivers/x11/Makefile.am1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/drivers/x11/Makefile.am b/src/mesa/drivers/x11/Makefile.am
index 726a9c66936..0c6b5ae18fb 100644
--- a/src/mesa/drivers/x11/Makefile.am
+++ b/src/mesa/drivers/x11/Makefile.am
@@ -60,6 +60,7 @@ lib@GL_LIB@_la_LIBADD = \
$(top_builddir)/src/mapi/glapi/libglapi.la
lib@GL_LIB@_la_LDFLAGS = \
-version-number $(GL_MAJOR):$(GL_MINOR):$(GL_PATCH) \
+ -no-undefined \
$(GL_LIB_DEPS)
if HAVE_SHARED_GLAPI