[nginx] Configure: fixed clean OpenSSL builds on Windows.
Maxim Dounin
mdounin at mdounin.ru
Tue Nov 24 15:44:03 UTC 2026
details: http://freenginx.org/hg/nginx/rev/2027afa36398
branches:
changeset: 9606:2027afa36398
user: Maxim Dounin <mdounin at mdounin.ru>
date: Tue Nov 24 06:19:16 2026 +0300
description:
Configure: fixed clean OpenSSL builds on Windows.
Calling "del" on Windows fails if the target file does not exist, so the
change in 9605:146c43e035ac broke clean OpenSSL builds on Windows. The
fix is to test if the file exists before trying to delete it.
diffstat:
auto/lib/openssl/makefile.msvc | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (13 lines):
diff --git a/auto/lib/openssl/makefile.msvc b/auto/lib/openssl/makefile.msvc
--- a/auto/lib/openssl/makefile.msvc
+++ b/auto/lib/openssl/makefile.msvc
@@ -6,7 +6,8 @@
all:
cd $(OPENSSL)
- del /q /f openssl\include\openssl\ssl.h
+ if exist openssl\include\openssl\ssl.h \
+ del /q /f openssl\include\openssl\ssl.h
perl Configure $(OPENSSL_TARGET) no-shared no-threads \
--prefix="%cd%/openssl" \
More information about the nginx-devel
mailing list