[Mesa-stable] [PATCH] util: Don't link to SHA1 library if shader-cache is disabled.

Matt Turner mattst88 at gmail.com
Tue Jul 7 23:33:57 PDT 2015


Cc: "10.6" <mesa-stable at lists.freedesktop.org>
---
 src/util/Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/util/Makefile.am b/src/util/Makefile.am
index 2e7542e..1e087b4 100644
--- a/src/util/Makefile.am
+++ b/src/util/Makefile.am
@@ -46,9 +46,9 @@ libmesautil_la_SOURCES = \
 
 if ENABLE_SHADER_CACHE
 libmesautil_la_SOURCES += $(MESA_UTIL_SHADER_CACHE_FILES)
-endif
 
 libmesautil_la_LIBADD = $(SHA1_LIBS)
+endif
 
 roundeven_test_LDADD = -lm
 
-- 
2.3.6



More information about the mesa-stable mailing list