[Mesa-dev] [PATCH 1/4] drivers/X11: Link X11 libGL with -no-undefined libtool flag
Matt Turner
mattst88 at gmail.com
Mon Jul 23 06:55:46 PDT 2012
On Mon, Jul 23, 2012 at 6:32 AM, Jon TURNEY <jon.turney at dronecode.org.uk> wrote:
> "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>
> ---
> 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 52febbb..53c5142 100644
> --- a/src/mesa/drivers/x11/Makefile.am
> +++ b/src/mesa/drivers/x11/Makefile.am
> @@ -60,6 +60,7 @@ libGL_la_LIBADD = \
> $(top_builddir)/src/mapi/glapi/libglapi.la
> libGL_la_LDFLAGS = \
> -version-number $(GL_MAJOR):$(GL_MINOR):$(GL_PATCH) \
> + -no-undefined \
> $(GL_LIB_DEPS)
>
> if HAVE_SHARED_GLAPI
> --
> 1.7.9
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev
Series is
Reviewed-by: Matt Turner <mattst88 at gmail.com>
More information about the mesa-dev
mailing list