gallium/r300: Fix a link error in the tests
authorJason Ekstrand <jason.ekstrand@intel.com>
Tue, 12 Aug 2014 18:12:47 +0000 (11:12 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Tue, 12 Aug 2014 18:35:07 +0000 (11:35 -0700)
The link error occurs because the static libraries are linked in the wrong
order.  This fixes it.

Signed-off-by: Jason Ekstrand <jason.ekstrand@intel.com>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=82483
Reviewed-by: Tom Stellard <thomas.stellard@amd.com>
src/gallium/drivers/r300/Makefile.am

index ae6e8d2e4667da48528c5b68cc67bc07d2462acf..e74e44542beeb795b7b4f344dc958042a9fd55b4 100644 (file)
@@ -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