Add ext-libxml

This commit is contained in:
crazywhalecc 2026-03-10 22:41:33 +08:00
parent d8dda09fb6
commit c5b11f47c3
No known key found for this signature in database
GPG Key ID: 1F4BDD59391F2680
2 changed files with 9 additions and 1 deletions

View File

@ -97,6 +97,14 @@ ext-ldap:
- ext-openssl
php-extension:
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:
type: php-extension
depends:

View File

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