Add default shared target

This commit is contained in:
crazywhalecc 2025-04-18 14:38:42 +08:00
parent 7bfb8d6f53
commit b452f7f32a
No known key found for this signature in database
GPG Key ID: 1F4BDD59391F2680

View File

@ -137,7 +137,7 @@ class Config
if (!isset(self::$ext[$name])) {
throw new WrongUsageException('ext [' . $name . '] is not supported yet');
}
return self::$ext[$name]['target'] ?? ['static'];
return self::$ext[$name]['target'] ?? ['static', 'shared'];
}
/**