util: Don't link to SHA1 library if shader-cache is disabled.
authorMatt Turner <mattst88@gmail.com>
Wed, 8 Jul 2015 06:33:57 +0000 (23:33 -0700)
committerMatt Turner <mattst88@gmail.com>
Thu, 9 Jul 2015 22:49:02 +0000 (15:49 -0700)
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/util/Makefile.am

index 2e7542e4245550a94e45c26c8ad1d99ff0acc1c6..1e087b40d38876208f4bbd8eb502d87145c31162 100644 (file)
@@ -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