From: Jason Ekstrand Date: Thu, 26 May 2016 00:51:59 +0000 (-0700) Subject: i965: Don't link libmesa or libdri_test_stubs into tests X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=057259655e79f6adfa79b71b0ee181dcae5454de;p=mesa.git i965: Don't link libmesa or libdri_test_stubs into tests Now that the compiler has been completely separated from libmesa, we no longer need these. We can make the tests much smaller by not linking them in. This also ensures that anyone who runs make check won't accidentally put in any dependencies from the compiler to the rest of mesa core. Reviewed-by: Emil Velikov Reviewed-by: Kristian Høgsberg --- diff --git a/src/mesa/drivers/dri/i965/Makefile.am b/src/mesa/drivers/dri/i965/Makefile.am index 9a990d21f8d..0a5222ec48a 100644 --- a/src/mesa/drivers/dri/i965/Makefile.am +++ b/src/mesa/drivers/dri/i965/Makefile.am @@ -66,11 +66,11 @@ EXTRA_DIST = \ TEST_LIBS = \ libi965_compiler.la \ - ../../../libmesa.la \ + $(top_builddir)/src/compiler/nir/libnir.la \ + $(top_builddir)/src/util/libmesautil.la \ $(top_builddir)/src/intel/isl/libisl.la \ $(PTHREAD_LIBS) \ - $(DLOPEN_LIBS) \ - ../common/libdri_test_stubs.la + $(DLOPEN_LIBS) TESTS = \ test_fs_cmod_propagation \