Return default version for musl and musl-wrapper

This commit is contained in:
crazywhalecc
2025-03-30 20:34:57 +08:00
parent 4e5c0f0a48
commit a940200164
2 changed files with 7 additions and 4 deletions

View File

@@ -31,7 +31,7 @@ class Config
if (self::$pre_built === null) {
self::$pre_built = FileSystem::loadConfigArray('pre-built');
}
$supported_sys_based = ['match-pattern'];
$supported_sys_based = ['match-pattern', 'prefer-stable', 'repo'];
if (in_array($name, $supported_sys_based)) {
$m_key = match (PHP_OS_FAMILY) {
'Windows' => ['-windows', '-win', ''],