summaryrefslogtreecommitdiffstats
path: root/Configurations/windows-makefile.tmpl
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2018-05-14 17:06:04 +0200
committerAndy Polyakov <appro@openssl.org>2018-05-15 21:17:03 +0200
commit0d9b5fa3b44794c6830641f6cf2e6d840d1e9315 (patch)
tree69de7fc817b956933fa7d87eb42a9c8c4864253c /Configurations/windows-makefile.tmpl
parent73cc84a132a08a02253ae168600fc4d16cd400d8 (diff)
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 <rsalz@openssl.org>
Diffstat (limited to 'Configurations/windows-makefile.tmpl')
-rw-r--r--Configurations/windows-makefile.tmpl1
1 files changed, 1 insertions, 0 deletions
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