From 3de56adbcc8a9da242b291cba1416aa39d10de61 Mon Sep 17 00:00:00 2001 From: Jeffrey Altman Date: Sat, 23 Apr 2016 20:58:25 -0400 Subject: [PATCH] Windows: Skip sha256 code sign if !CODESIGN If we are not code signing we must define an action for _CODESIGN_SHA256 or the build system macros will be unbalanced. Change-Id: I3c545de3c8ee809709defd12faeead358fde26dd --- windows/NTMakefile.w32 | 1 + 1 file changed, 1 insertion(+) diff --git a/windows/NTMakefile.w32 b/windows/NTMakefile.w32 index 49099701d..1a35af9b0 100644 --- a/windows/NTMakefile.w32 +++ b/windows/NTMakefile.w32 @@ -520,6 +520,7 @@ _CODESIGN=( $(SIGNTOOL) sign /fd sha1 $(SIGNTOOL_O) /t $(SIGNTOOL_T) $(SIGNTOOL_ _CODESIGN_SHA256=( $(SIGNTOOL) sign /as /fd sha256 $(SIGNTOOL_O) /tr $(SIGNTOOL_T_SHA256) $(SIGNTOOL_C) /v $@ ) !else _CODESIGN=( echo Skipping code sign ) +_CODESIGN_SHA256=( echo Skipping sha256 code sign ) !endif !endif