From: Andy Polyakov Date: Mon, 14 May 2018 15:06:04 +0000 (+0200) Subject: windows-makefile.tmpl: delete export library prior link. X-Git-Tag: OpenSSL_1_1_1-pre7~47 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=0d9b5fa3b44794c6830641f6cf2e6d840d1e9315;p=oweals%2Fopenssl.git windows-makefile.tmpl: delete export library prior link. LINK can outsmart itself and choose to not update export .lib upon corresponding .dll re-link. Since dependency is between .lib and all .obj-s, re-compilation of any .obj makes NMAKE relink .dll and all .exe-s over and over... Reviewed-by: Rich Salz --- diff --git a/Configurations/windows-makefile.tmpl b/Configurations/windows-makefile.tmpl index 0752bbe2a3..49af571435 100644 --- a/Configurations/windows-makefile.tmpl +++ b/Configurations/windows-makefile.tmpl @@ -627,6 +627,7 @@ EOF return <<"EOF" $target: $deps IF EXIST $shlib$shlibext.manifest DEL /F /Q $shlib$shlibext.manifest + IF EXIST \$@ DEL /F /Q \$@ \$(LD) \$(LDFLAGS) \$(LIB_LDFLAGS) \\ /implib:\$@ \$(LDOUTFLAG)$shlib$shlibext$shared_def @<< || (DEL /Q \$(\@B).* $shlib.* && EXIT 1) $objs