[libxml2]Add libxml2 library

This commit is contained in:
zhoujiale
2026-07-26 16:57:28 +08:00
committed by zhoujiale
parent 0a44ec8a06
commit e841ac915d
3790 changed files with 668244 additions and 0 deletions
+26
View File
@@ -0,0 +1,26 @@
#!/bin/sh
set -e
srcdir=$(pwd)
installdir="$srcdir/install"
export PKG_CONFIG_PATH="$installdir/lib/pkgconfig"
git clone --depth 1 https://github.com/php/php-src.git
cd php-src
./buildconf
./configure --with-xsl --enable-soap --enable-debug
make -j$(nproc)
make TESTS=" \
-g FAIL \
--show-diff \
--no-progress \
ext/dom \
ext/libxml \
ext/simplexml \
ext/soap \
ext/xml \
ext/xmlreader \
ext/xmlwriter \
ext/xsl \
" test