Mesa (master): gallium/r300: Fix a link error in the tests

Jason Ekstrand jekstrand at kemper.freedesktop.org
Tue Aug 12 18:39:18 UTC 2014


Module: Mesa
Branch: master
Commit: 97d57f1142db2a11189a2c9a174f9f69fd5a298d
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=97d57f1142db2a11189a2c9a174f9f69fd5a298d

Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Tue Aug 12 11:12:47 2014 -0700

gallium/r300: Fix a link error in the tests

The link error occurs because the static libraries are linked in the wrong
order.  This fixes it.

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

---

 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




More information about the mesa-commit mailing list