musllinux fix so wheels build can work

This commit is contained in:
Miodrag Milanovic 2026-01-12 15:38:45 +01:00
parent 72690062a1
commit b3b71df07c
1 changed files with 0 additions and 4 deletions

View File

@ -253,11 +253,7 @@ std::optional<AbcProcess> spawn_abc(const char* abc_exe, DeferredLogs &logs) {
char arg1[] = "-s";
char* argv[] = { strdup(abc_exe), arg1, nullptr };
if (0 != posix_spawnp(&result.pid, abc_exe, &file_actions, nullptr, argv, environ)) {
#if defined(__GLIBC__)
logs.log_error("posix_spawnp %s failed (errno=%s)", abc_exe, strerrorname_np(errno));
#else
logs.log_error("posix_spawnp %s failed (errno=%s)", abc_exe, strerror(errno));
#endif
return std::nullopt;
}
free(argv[0]);