From b595a68df91bee1eb0fa2841837dcf83ae9174f2 Mon Sep 17 00:00:00 2001 From: Piotr Sikora Date: Mon, 26 Feb 2024 20:00:46 +0000 Subject: [PATCH] Configure: fixed "make install" when cross-compiling to Windows. Signed-off-by: Piotr Sikora --- auto/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/auto/install b/auto/install index c764fdd2f..7f73e4bff 100644 --- a/auto/install +++ b/auto/install @@ -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'