Skip to content

Commit 2a5ea27

Browse files
authored
build: fix license path and add new modules
1 parent de002fc commit 2a5ea27

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

nginx-build-msys2.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ mv -f tmp/*/CHANGES* ../docs/
111111
# copy docs and licenses
112112
cp -f docs/text/LICENSE ../docs/
113113
cp -f docs/text/README ../docs/
114-
cp -pf "${OPENSSL}/LICENSE" '../docs/OpenSSL.LICENSE'
114+
cp -pf "${OPENSSL}/LICENSE.txt" '../docs/OpenSSL.LICENSE'
115115
cp -pf "${WITH_PCRE}/LICENCE" '../docs/PCRE.LICENCE'
116116
sed -ne '/^ (C) 1995-20/,/^ jloup@gzip\.org/p' "${ZLIB}/README" > '../docs/zlib.LICENSE'
117117
touch -r "${ZLIB}/README" '../docs/zlib.LICENSE'
@@ -139,6 +139,7 @@ configure_args=(
139139
--with-http_slice_module \
140140
--with-mail \
141141
--with-stream \
142+
--with-stream_realip_module \
142143
"--with-pcre=${WITH_PCRE}" \
143144
--with-pcre-jit \
144145
"--with-zlib=${ZLIB}" \
@@ -163,7 +164,8 @@ configure_args+=(
163164
"--with-openssl=${OPENSSL}" \
164165
--with-http_ssl_module \
165166
--with-mail_ssl_module \
166-
--with-stream_ssl_module
167+
--with-stream_ssl_module \
168+
--with-stream_ssl_preread_module
167169
)
168170
echo "${configure_args[@]}"
169171
auto/configure "${configure_args[@]}" \

0 commit comments

Comments
 (0)