From 6355a97b47f1d5f5a70ce9625896c046e26f9347 Mon Sep 17 00:00:00 2001 From: DubbleClick Date: Thu, 3 Jul 2025 12:26:11 +0700 Subject: [PATCH] don't pass --build-shared when not using zig toolchain --- src/globals/test-extensions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/globals/test-extensions.php b/src/globals/test-extensions.php index f9f78182..169c70a6 100644 --- a/src/globals/test-extensions.php +++ b/src/globals/test-extensions.php @@ -159,7 +159,7 @@ if ($shared_extensions) { case 'ubuntu-24.04': case 'ubuntu-24.04-arm': putenv('SPC_TARGET=native-native'); - if (!str_contains((string) getenv('SPC_TARGET'), '-musl')) { + if (getenv('SPC_TARGET') && !str_contains((string) getenv('SPC_TARGET'), '-musl')) { $shared_cmd = ' --build-shared=' . quote2($shared_extensions) . ' '; } break;