mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-08 09:25:35 +08:00
rework configure args
This commit is contained in:
@@ -17,7 +17,7 @@ class dom extends Extension
|
||||
*/
|
||||
public function getUnixConfigureArg(bool $shared = false): string
|
||||
{
|
||||
$arg = '--enable-dom';
|
||||
$arg = '--enable-dom' . ($shared ? '=shared' : '');
|
||||
if (!$shared) {
|
||||
$arg .= ' --with-libxml="' . BUILD_ROOT_PATH . '"';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user