[nginx] Win32: skip OpenSSL dependency generation to conserve time.

noreply at nginx.com noreply at nginx.com
Tue Jun 24 17:23:02 UTC 2025


details:   https://github.com/nginx/nginx/commit/b997be14f5e19942a99d90eeeee53289f5d3a3a8
branches:  master
commit:    b997be14f5e19942a99d90eeeee53289f5d3a3a8
user:      Sergey Kandaurov <pluknet at nginx.com>
date:      Tue, 24 Jun 2025 16:42:20 +0400
description:
Win32: skip OpenSSL dependency generation to conserve time.

Disabling the build dependency feature is safe assuming that
nginx/Windows release zip is always built from a clean tree.
This allows to speed up total build time by around 40%.

As it may not be suitable in general, the option resides here
and not in configure.

---
 misc/GNUmakefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/misc/GNUmakefile b/misc/GNUmakefile
index b7e76b942..6f8a5d396 100644
--- a/misc/GNUmakefile
+++ b/misc/GNUmakefile
@@ -76,7 +76,8 @@ win32:
 		--with-stream_realip_module				\
 		--with-stream_ssl_preread_module			\
 		--with-openssl=$(OBJS)/lib/$(OPENSSL)			\
-		--with-openssl-opt="no-asm no-tests -D_WIN32_WINNT=0x0501" \
+		--with-openssl-opt="no-asm no-tests no-makedepend	\
+			-D_WIN32_WINNT=0x0501"				\
 		--with-http_ssl_module					\
 		--with-mail_ssl_module					\
 		--with-stream_ssl_module


More information about the nginx-devel mailing list