Mesa (master): util: Don' t link to SHA1 library if shader-cache is disabled.

Matt Turner mattst88 at kemper.freedesktop.org
Thu Jul 9 22:47:25 UTC 2015


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

Author: Matt Turner <mattst88 at gmail.com>
Date:   Tue Jul  7 23:33:57 2015 -0700

util: Don't link to SHA1 library if shader-cache is disabled.

Reviewed-by: Kenneth Graunke <kenneth at whitecape.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
 




More information about the mesa-commit mailing list