Skip to content

Commit 8558d3d

Browse files
committed
Fix error message on static target shared ext
1 parent 0374187 commit 8558d3d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/SPC/builder/linux/LinuxBuilder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +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' .
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" .
166166
'or use SPC_MUSL_DYNAMIC=true on alpine.'
167167
);
168168
}

0 commit comments

Comments
 (0)