mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-21 15:55:36 +08:00
Compare commits
2 Commits
28ae4242a6
...
e0c69086dc
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e0c69086dc | ||
|
|
5606b70c1c |
@@ -22,7 +22,7 @@ class LinuxMuslCheck
|
|||||||
public static function optionalCheck(): bool
|
public static function optionalCheck(): bool
|
||||||
{
|
{
|
||||||
return getenv('SPC_TOOLCHAIN') === MuslToolchain::class ||
|
return getenv('SPC_TOOLCHAIN') === MuslToolchain::class ||
|
||||||
(getenv('SPC_TOOLCHAIN') === ZigToolchain::class && !SystemUtil::isMuslDist());
|
(getenv('SPC_TOOLCHAIN') === ZigToolchain::class && !SystemUtil::isMuslDist() && !str_contains((string) getenv('SPC_TARGET'), 'gnu'));
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @noinspection PhpUnused */
|
/** @noinspection PhpUnused */
|
||||||
|
|||||||
Reference in New Issue
Block a user