We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e740f2f commit 12bcd57Copy full SHA for 12bcd57
configure-win.sh
@@ -1,7 +1,7 @@
1
-#!/usr/bin/env bash
+#!/bin/bash
2
echo "用法:configure-win.sh [编译器] [架构]"
3
4
-auto/configure \
+.、auto/configure \
5
--with-cc=$1 \
6
--builddir=build \
7
--build=SystemFileB_Nginx-rtmp_Build_$2 \
@@ -19,6 +19,7 @@ auto/configure \
19
--http-uwsgi-temp-path=nginx/temp/uwsgi_temp \
20
--with-cc-opt=-DFD_SETSIZE=1024 \
21
--with-pcre=lib/pcre2 \
22
+ --with-pcre-opt="--disable-dependency-tracking" \
23
--with-zlib=lib/zlib \
24
--with-http_v2_module \
25
--with-http_realip_module \
nginx-builder.sh
@@ -24,6 +24,7 @@ cd ..
echo "Step 1: 构建 $1 版本"
echo "Step 1.1: 配置"
26
if "$1" == "windows" ; then
27
+ chmod +x configure-*.sh
28
$RUNPATH/configure-win.sh $2 $CURRENT_TIME
29
else
30
$RUNPATH/configure-linux.sh $2 $CURRENT_TIME
0 commit comments