This commit is contained in:
DubbleClick 2025-06-27 19:27:02 +07:00
parent e6bec8eb57
commit 383045d1c0
2 changed files with 2 additions and 2 deletions

View File

@ -119,7 +119,7 @@ trait UnixLibraryTrait
{ {
$env = getenv($this->getSnakeCaseName() . '_CFLAGS') ?: ''; $env = getenv($this->getSnakeCaseName() . '_CFLAGS') ?: '';
if (!str_contains($env, $this->builder->arch_c_flags)) { if (!str_contains($env, $this->builder->arch_c_flags)) {
$env .= ' ' .$this->builder->arch_c_flags; $env .= ' ' . $this->builder->arch_c_flags;
} }
return trim($env); return trim($env);
} }

View File

@ -15,7 +15,7 @@ trait ncurses
UnixAutoconfExecutor::create($this) UnixAutoconfExecutor::create($this)
->appendEnv([ ->appendEnv([
'LDFLAGS' => getenv('SPC_LIBC') === 'musl' ? '-static' : '' 'LDFLAGS' => getenv('SPC_LIBC') === 'musl' ? '-static' : '',
]) ])
->configure( ->configure(
'--enable-overwrite', '--enable-overwrite',