diff options
author | Andy Polyakov <appro@openssl.org> | 2018-05-14 17:06:04 +0200 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2018-05-15 21:17:03 +0200 |
commit | 0d9b5fa3b44794c6830641f6cf2e6d840d1e9315 (patch) | |
tree | 69de7fc817b956933fa7d87eb42a9c8c4864253c /Configurations/windows-makefile.tmpl | |
parent | 73cc84a132a08a02253ae168600fc4d16cd400d8 (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.tmpl | 1 |
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 |