Skip to content

Commit 12bcd57

Browse files
committed
我再来试试
1 parent e740f2f commit 12bcd57

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

configure-win.sh

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
#!/usr/bin/env bash
1+
#!/bin/bash
22
echo "用法:configure-win.sh [编译器] [架构]"
33

4-
auto/configure \
4+
.、auto/configure \
55
--with-cc=$1 \
66
--builddir=build \
77
--build=SystemFileB_Nginx-rtmp_Build_$2 \
@@ -19,6 +19,7 @@ auto/configure \
1919
--http-uwsgi-temp-path=nginx/temp/uwsgi_temp \
2020
--with-cc-opt=-DFD_SETSIZE=1024 \
2121
--with-pcre=lib/pcre2 \
22+
--with-pcre-opt="--disable-dependency-tracking" \
2223
--with-zlib=lib/zlib \
2324
--with-http_v2_module \
2425
--with-http_realip_module \

nginx-builder.sh

+1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ cd ..
2424
echo "Step 1: 构建 $1 版本"
2525
echo "Step 1.1: 配置"
2626
if "$1" == "windows" ; then
27+
chmod +x configure-*.sh
2728
$RUNPATH/configure-win.sh $2 $CURRENT_TIME
2829
else
2930
$RUNPATH/configure-linux.sh $2 $CURRENT_TIME

0 commit comments

Comments
 (0)