[Mesa-dev] [PATCH] Use -no-undefined libtool flag in egl/main/Makefile.am
Kenneth Graunke
kenneth at whitecape.org
Mon Mar 5 09:36:43 PST 2012
On 03/04/2012 08:17 AM, Jon TURNEY 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."
>
> If I had a dollar for every time I wrote this patch, I'd have about $10 :-)
Indeed. :(
Acked-by: Kenneth Graunke <kenneth at whitecape.org>
> Signed-off-by: Jon TURNEY<jon.turney at dronecode.org.uk>
> ---
> src/egl/main/Makefile.am | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/src/egl/main/Makefile.am b/src/egl/main/Makefile.am
> index ad1bbdb..a8072c1 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
More information about the mesa-dev
mailing list