From 50b13217ba13f569ef851fffcd920e756f255687 Mon Sep 17 00:00:00 2001 From: Jon TURNEY Date: Sat, 7 Jul 2012 18:01:50 +0100 Subject: 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 Reviewed-by: Matt Turner Reviewed-by: Brian Paul Reviewed-by: Eric Anholt --- src/mesa/drivers/x11/Makefile.am | 1 + 1 file changed, 1 insertion(+) (limited to 'src/mesa') 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 -- cgit v1.2.3