Re-enable musl version detect

This commit is contained in:
crazywhalecc
2025-03-30 20:54:32 +08:00
parent 01d3cb4b11
commit 50cfc5899b

View File

@@ -202,7 +202,6 @@ class SystemUtil
} }
return null; return null;
} }
/*
// for musl, disabled temporarily as musl has better compatibility between different patch version? // for musl, disabled temporarily as musl has better compatibility between different patch version?
if (PHP_OS_FAMILY === 'Linux' && getenv('SPC_LIBC') === 'musl') { if (PHP_OS_FAMILY === 'Linux' && getenv('SPC_LIBC') === 'musl') {
if (self::isMuslDist()) { if (self::isMuslDist()) {
@@ -217,7 +216,6 @@ class SystemUtil
return $matches[1]; return $matches[1];
} }
} }
*/
return null; return null;
} }
} }