Skip to content

Commit 3b348f5

Browse files
committed
copy sljit
1 parent b14c9e2 commit 3b348f5

File tree

1 file changed

+4
-2
lines changed
  • .github/scripts/download-bundled

1 file changed

+4
-2
lines changed

.github/scripts/download-bundled/pcre2.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,13 @@ commit=b2bd4254b379b9d7dc9a3dda060a7e27009ccdff # 10.46 release
77
git clone --recurse-submodules --revision=$commit https://github.com/PCRE2Project/pcre2.git /tmp/php-src-bundled/pcre2
88

99
(cd /tmp/php-src-bundled/pcre2 && ./autogen.sh)
10-
(cd /tmp/php-src-bundled/pcre2 && ./configure --enable-jit --enable-pcre2-16 --enable-pcre2-32 --enable-pcre2grep-libz --enable-pcre2grep-libbz2 --enable-Werror)
11-
(cd /tmp/php-src-bundled/pcre2 && make)
10+
(cd /tmp/php-src-bundled/pcre2 && ./configure --enable-jit --enable-pcre2-16 --enable-pcre2-32 --enable-pcre2grep-libz --enable-pcre2grep-libbz2)
11+
# (cd /tmp/php-src-bundled/pcre2 && make)
1212

1313
rm -rf ext/pcre/pcre2lib
1414
cp -R /tmp/php-src-bundled/pcre2/src ext/pcre/pcre2lib
15+
cp -R /tmp/php-src-bundled/pcre2/deps/sljit/sljit_src ext/pcre/pcre2lib/sljit
1516

1617
cd ext/pcre/pcre2lib
1718
git restore config.h
19+
mv pcre2_chartables.c.dist pcre2_chartables.c

0 commit comments

Comments
 (0)