[Mesa-dev] [PATCH 1/6] targets/egl-static: link with libmesautil.la

Emil Velikov emil.l.velikov at gmail.com
Mon Aug 4 13:21:41 PDT 2014


On 04/08/14 21:16, Brian Paul wrote:
> ---
>  src/gallium/targets/egl-static/Makefile.am |    5 ++++-
>  1 file changed, 4 insertions(+), 1 deletion(-)
> 
> diff --git a/src/gallium/targets/egl-static/Makefile.am b/src/gallium/targets/egl-static/Makefile.am
> index 84f3338..ff053e2 100644
> --- a/src/gallium/targets/egl-static/Makefile.am
> +++ b/src/gallium/targets/egl-static/Makefile.am
> @@ -64,6 +64,7 @@ egl_gallium_la_SOURCES = \
>  egl_gallium_la_LIBADD = \
>  	$(top_builddir)/src/loader/libloader.la \
>  	$(top_builddir)/src/gallium/auxiliary/libgallium.la \
> +	$(top_builddir)/src/util/libmesautil.la \
>  	$(top_builddir)/src/gallium/drivers/identity/libidentity.la \
>  	$(top_builddir)/src/gallium/drivers/trace/libtrace.la \
>  	$(top_builddir)/src/gallium/drivers/rbug/librbug.la \
> @@ -108,7 +109,8 @@ AM_CPPFLAGS += \
>  	-DFEATURE_GL=1
>  
>  egl_gallium_la_LIBADD += \
> -	$(top_builddir)/src/mesa/libmesagallium.la
> +	$(top_builddir)/src/mesa/libmesagallium.la \
> +	$(top_builddir)/src/util/libmesautil.la
Guessing that this will cause duplicate symbols and the build will fail ?

-Emil
>  # make st/mesa built-in when there is a single glapi provider
>  if HAVE_SHARED_GLAPI
>  egl_gallium_la_LIBADD += \
> @@ -127,6 +129,7 @@ st_GL_la_LDFLAGS = $(AM_LDFLAGS)
>  # st_GL, built only when shared glapi is not enabled
>  st_GL_la_LIBADD = \
>  	$(top_builddir)/src/mesa/libmesagallium.la \
> +	$(top_builddir)/src/util/libmesautil.la \
>  	$(top_builddir)/src/gallium/auxiliary/libgallium.la \
>  	$(top_builddir)/src/mapi/glapi/libglapi.la \
>  	$(GALLIUM_COMMON_LIB_DEPS)
> 



More information about the mesa-dev mailing list