Skip to content

Commit a6faac6

Browse files
committed
update oniguruma 构建配置
1 parent e4d8e19 commit a6faac6

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

sapi/src/builder/library/oniguruma.php

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,16 @@
1414
->withFileHash('md5', '6a3defb3d5e57c2fa4b6f3b4ec6de28b')
1515
->withPrefix($oniguruma_prefix)
1616
->withConfigure(
17-
'./autogen.sh && ./configure --prefix=' . $oniguruma_prefix . ' --enable-static --disable-shared'
17+
<<<EOF
18+
./autogen.sh
19+
./configure --help
20+
CFLAGS="-std=gnu17" \
21+
./configure \
22+
--prefix={$oniguruma_prefix} \
23+
--enable-shared=no \
24+
--enable-static=yes
25+
26+
EOF
1827
)
1928
->withPkgName('oniguruma')
2029
->withBinPath($oniguruma_prefix . '/bin/')

0 commit comments

Comments
 (0)