Mercurial > hg > nginx
comparison misc/GNUmakefile @ 7487:7da71a7b141a
Win32: preserving binary compatibility with Windows XP - Vista.
OpenSSL 1.1.0 and above uses BCrypt if available (Windows 7 or higher).
This results in an unusable binary on older Windows versions, when building
with newer Windows SDK (such as 7.0A). Using CFLAGS to define _WIN32_WINNT
allows to set a desired ABI and make sure the binary works with Windows XP.
To not mix with other potential CFLAGS uses, it is set in GNUmakefile.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Thu, 04 Apr 2019 16:26:56 +0300 |
parents | 52d3600bc25e |
children | af8abe105348 |
comparison
equal
deleted
inserted
replaced
7486:52d3600bc25e | 7487:7da71a7b141a |
---|---|
80 --with-http_secure_link_module \ | 80 --with-http_secure_link_module \ |
81 --with-http_slice_module \ | 81 --with-http_slice_module \ |
82 --with-mail \ | 82 --with-mail \ |
83 --with-stream \ | 83 --with-stream \ |
84 --with-openssl=$(OBJS)/lib/$(OPENSSL) \ | 84 --with-openssl=$(OBJS)/lib/$(OPENSSL) \ |
85 --with-openssl-opt="no-asm no-tests" \ | 85 --with-openssl-opt="no-asm no-tests \ |
86 CFLAGS=-D_WIN32_WINNT=0x0501" \ | |
86 --with-http_ssl_module \ | 87 --with-http_ssl_module \ |
87 --with-mail_ssl_module \ | 88 --with-mail_ssl_module \ |
88 --with-stream_ssl_module | 89 --with-stream_ssl_module |
89 | 90 |
90 | 91 |