*full* shared extension build linked against musl libc dynamically works!

This commit is contained in:
DubbleClick
2025-07-05 12:01:52 +07:00
parent 2ac20cf3af
commit 93d6a45a78
3 changed files with 22 additions and 13 deletions

View File

@@ -158,8 +158,8 @@ if ($shared_extensions) {
break;
case 'ubuntu-24.04':
case 'ubuntu-24.04-arm':
putenv('SPC_TARGET=native-native-gnu');
if (getenv('SPC_TARGET') && !str_contains((string) getenv('SPC_TARGET'), '-musl')) {
putenv('SPC_TARGET=native-native-musl -dynamic');
if (getenv('SPC_TARGET') && !str_contains(getenv('SPC_TARGET'), '-musl') || str_contains(getenv('SPC_TARGET'), '-dynamic')) {
$shared_cmd = ' --build-shared=' . quote2($shared_extensions) . ' ';
}
break;