Skip to content

Commit 0ff4586

Browse files
committed
Remove break in error message on static target shared ext
1 parent 8558d3d commit 0ff4586

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/SPC/builder/linux/LinuxBuilder.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,8 +162,7 @@ public function buildPHP(int $build_target = BUILD_TARGET_NONE): void
162162
throw new WrongUsageException(
163163
"You're building against musl libc statically (the default on Linux), but you're trying to build shared extensions.\n" .
164164
'Static musl libc does not implement `dlopen`, so your php binary is not able to load shared extensions.' . "\n" .
165-
'Either use SPC_LIBC=glibc to link against glibc on a glibc OS, use SPC_TARGET="native-native-musl -dynamic" to link against musl libc dynamically using `zig cc`' . "\n" .
166-
'or use SPC_MUSL_DYNAMIC=true on alpine.'
165+
'Either use SPC_LIBC=glibc to link against glibc on a glibc OS, use SPC_TARGET="native-native-musl -dynamic" to link against musl libc dynamically using `zig cc` or use SPC_MUSL_DYNAMIC=true on alpine.'
167166
);
168167
}
169168
logger()->info('Building shared extensions...');

0 commit comments

Comments
 (0)