mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-18 04:44:53 +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':
|
||||||
case 'ubuntu-24.04-arm':
|
case 'ubuntu-24.04-arm':
|
||||||
putenv('SPC_TARGET=native-native');
|
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) . ' ';
|
$shared_cmd = ' --build-shared=' . quote2($shared_extensions) . ' ';
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user