We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e4d8e19 commit a6faac6Copy full SHA for a6faac6
1 file changed
sapi/src/builder/library/oniguruma.php
@@ -14,7 +14,16 @@
14
->withFileHash('md5', '6a3defb3d5e57c2fa4b6f3b4ec6de28b')
15
->withPrefix($oniguruma_prefix)
16
->withConfigure(
17
- './autogen.sh && ./configure --prefix=' . $oniguruma_prefix . ' --enable-static --disable-shared'
+ <<<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
27
)
28
->withPkgName('oniguruma')
29
->withBinPath($oniguruma_prefix . '/bin/')
0 commit comments