Mesa (master): drivers/X11: Link X11 libGL with -no-undefined libtool flag
Jon TURNEY
jturney at kemper.freedesktop.org
Wed Jul 25 11:44:35 UTC 2012
Module: Mesa
Branch: master
Commit: 50b13217ba13f569ef851fffcd920e756f255687
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=50b13217ba13f569ef851fffcd920e756f255687
Author: Jon TURNEY <jon.turney at dronecode.org.uk>
Date: Sat Jul 7 18:01:50 2012 +0100
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 <jon.turney at dronecode.org.uk>
Reviewed-by: Matt Turner <mattst88 at gmail.com>
Reviewed-by: Brian Paul <brianp at vmware.com>
Reviewed-by: Eric Anholt <eric at anholt.net>
---
src/mesa/drivers/x11/Makefile.am | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/mesa/drivers/x11/Makefile.am b/src/mesa/drivers/x11/Makefile.am
index 726a9c6..0c6b5ae 100644
--- a/src/mesa/drivers/x11/Makefile.am
+++ b/src/mesa/drivers/x11/Makefile.am
@@ -60,6 +60,7 @@ lib at GL_LIB@_la_LIBADD = \
$(top_builddir)/src/mapi/glapi/libglapi.la
lib at GL_LIB@_la_LDFLAGS = \
-version-number $(GL_MAJOR):$(GL_MINOR):$(GL_PATCH) \
+ -no-undefined \
$(GL_LIB_DEPS)
if HAVE_SHARED_GLAPI
More information about the mesa-commit
mailing list