mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-12 03:15:35 +08:00
Add ext-libxml
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user