Skip to content

Commit 8b3a22c

Browse files
committed
better error message
1 parent 8d47e56 commit 8b3a22c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/SPC/toolchain/ToolchainManager.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public static function afterInitToolchain(): void
5555
throw new RuntimeException('You are linking against musl libc dynamically, but musl libc is not installed. Please install it with `sudo dnf install musl-libc` or `sudo apt install musl`');
5656
}
5757
if (SPCTarget::getLibc() === 'glibc' && SystemUtil::isMuslDist()) {
58-
throw new RuntimeException('You are linking against glibc libc dynamically, which is only supported on glibc distros.');
58+
throw new RuntimeException('You are linking against glibc dynamically, which is only supported on musl distros.');
5959
}
6060
$toolchain = getenv('SPC_TOOLCHAIN');
6161
/* @var ToolchainInterface $toolchain */

0 commit comments

Comments
 (0)