[nginx] Configure: fixed "make install" when cross-compiling to Windows.

Sergey Kandaurov pluknet at nginx.com
Wed Mar 27 17:46:49 UTC 2024


details:   https://hg.nginx.org/nginx/rev/c2e753d214b0
branches:  
changeset: 9234:c2e753d214b0
user:      Piotr Sikora <piotr at aviatrix.com>
date:      Mon Feb 26 20:00:46 2024 +0000
description:
Configure: fixed "make install" when cross-compiling to Windows.

Signed-off-by: Piotr Sikora <piotr at aviatrix.com>

diffstat:

 auto/install |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 398495d816f0 -r c2e753d214b0 auto/install
--- a/auto/install	Mon Feb 26 20:00:43 2024 +0000
+++ b/auto/install	Mon Feb 26 20:00:46 2024 +0000
@@ -112,7 +112,7 @@ install:	build $NGX_INSTALL_PERL_MODULES
 	test ! -f '\$(DESTDIR)$NGX_SBIN_PATH' \\
 		|| mv '\$(DESTDIR)$NGX_SBIN_PATH' \\
 			'\$(DESTDIR)$NGX_SBIN_PATH.old'
-	cp $NGX_OBJS/nginx '\$(DESTDIR)$NGX_SBIN_PATH'
+	cp $NGX_OBJS/nginx$ngx_binext '\$(DESTDIR)$NGX_SBIN_PATH'
 
 	test -d '\$(DESTDIR)$NGX_CONF_PREFIX' \\
 		|| mkdir -p '\$(DESTDIR)$NGX_CONF_PREFIX'


More information about the nginx-devel mailing list