mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-17 20:34:51 +08:00
don't pass --build-shared when not using zig toolchain
This commit is contained in:
parent
20c4056561
commit
6355a97b47
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user