mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-18 04:44:53 +08:00
Add default shared target
This commit is contained in:
parent
7bfb8d6f53
commit
b452f7f32a
@ -137,7 +137,7 @@ class Config
|
|||||||
if (!isset(self::$ext[$name])) {
|
if (!isset(self::$ext[$name])) {
|
||||||
throw new WrongUsageException('ext [' . $name . '] is not supported yet');
|
throw new WrongUsageException('ext [' . $name . '] is not supported yet');
|
||||||
}
|
}
|
||||||
return self::$ext[$name]['target'] ?? ['static'];
|
return self::$ext[$name]['target'] ?? ['static', 'shared'];
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user