[Mesa-dev] [PATCH 3/3] egl-static: Only export necessary symbols

Matt Turner mattst88 at gmail.com
Wed Oct 23 23:32:06 CEST 2013


On Wed, Oct 23, 2013 at 1:26 PM, Tom Stellard <tom at stellard.net> wrote:
> From: Tom Stellard <thomas.stellard at amd.com>
>
> This fixes a crash in glamor when mesa links against static LLVM.
> ---
>  src/gallium/targets/egl-static/Makefile.am | 4 ++++
>  src/gallium/targets/egl-static/egl.link    | 3 +++
>  2 files changed, 7 insertions(+)
>  create mode 100644 src/gallium/targets/egl-static/egl.link
>
> diff --git a/src/gallium/targets/egl-static/Makefile.am b/src/gallium/targets/egl-static/Makefile.am
> index 0b30aeb..e2ae433 100644
> --- a/src/gallium/targets/egl-static/Makefile.am
> +++ b/src/gallium/targets/egl-static/Makefile.am
> @@ -30,6 +30,10 @@
>  #
>  include $(top_srcdir)/src/gallium/Automake.inc
>
> +LINKER_SCRIPT=egl.link

Same comments as 1/3.

> +
> +LDFLAGS+=-Wl,$(LINKER_SCRIPT)


More information about the mesa-dev mailing list