Add ext-libxml

This commit is contained in:
crazywhalecc
2026-03-10 22:41:33 +08:00
parent d8dda09fb6
commit c5b11f47c3
2 changed files with 9 additions and 1 deletions

View File

@@ -97,6 +97,14 @@ ext-ldap:
- ext-openssl - ext-openssl
php-extension: php-extension:
arg-type: with-path arg-type: with-path
ext-libxml:
type: php-extension
depends:
- ext-xml
php-extension:
build-with-php: true
build-shared: false
arg-type: none
ext-mbregex: ext-mbregex:
type: php-extension type: php-extension
depends: depends:

View File

@@ -94,7 +94,7 @@ class PhpExtensionPackage extends Package
'enable-path' => $shared ? "--enable-{$name}=shared,{$escapedPath}" : "--enable-{$name}={$escapedPath}", 'enable-path' => $shared ? "--enable-{$name}=shared,{$escapedPath}" : "--enable-{$name}={$escapedPath}",
'with' => $shared ? "--with-{$name}=shared" : "--with-{$name}", 'with' => $shared ? "--with-{$name}=shared" : "--with-{$name}",
'with-path' => $shared ? "--with-{$name}=shared,{$escapedPath}" : "--with-{$name}={$escapedPath}", 'with-path' => $shared ? "--with-{$name}=shared,{$escapedPath}" : "--with-{$name}={$escapedPath}",
'custom' => '', 'custom', 'none' => '',
default => $arg_type, default => $arg_type,
}; };
// customize argument from config string // customize argument from config string