[Mesa-dev] [PATCH] gallium/r300: Fix a link error in the tests

Tom Stellard tom at stellard.net
Tue Aug 12 11:32:54 PDT 2014


On Tue, Aug 12, 2014 at 11:14:06AM -0700, Jason Ekstrand wrote:
> The link error occurs because the static libraries are linked in the wrong
> order.  This fixes it.
> 

Reviewed-by: Tom Stellard <thomas.stellard at amd.com>

> Signed-off-by: Jason Ekstrand <jason.ekstrand at intel.com>
> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=82483
> ---
>  src/gallium/drivers/r300/Makefile.am | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/gallium/drivers/r300/Makefile.am b/src/gallium/drivers/r300/Makefile.am
> index ae6e8d2..e74e445 100644
> --- a/src/gallium/drivers/r300/Makefile.am
> +++ b/src/gallium/drivers/r300/Makefile.am
> @@ -18,8 +18,8 @@ check_PROGRAMS = r300_compiler_tests
>  TESTS = r300_compiler_tests
>  
>  r300_compiler_tests_LDADD = libr300.la libr300-helper.la \
> -	$(top_builddir)/src/util/libmesautil.la \
>  	$(top_builddir)/src/gallium/auxiliary/libgallium.la \
> +	$(top_builddir)/src/util/libmesautil.la \
>  	$(GALLIUM_COMMON_LIB_DEPS)
>  r300_compiler_tests_CPPFLAGS = \
>  	-I$(top_srcdir)/src/gallium/drivers/r300/compiler
> -- 
> 2.0.4
> 
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-dev mailing list