This commit is contained in:
henderkes
2026-02-20 08:42:30 +07:00
parent 101b4febb9
commit 17acb966de
14 changed files with 18 additions and 23 deletions

View File

@@ -312,7 +312,7 @@ class SPCConfigUtil
if (in_array('imap', $libraries) && SPCTarget::getLibc() === 'glibc') {
$lib_names[] = '-lcrypt';
}
if (getenv('SPC_STATIC_LIBS')) {
if (getenv('SPC_LINK_STATIC')) {
$lib_names = array_map(fn ($l) => $this->getStaticLibname($l), $lib_names);
}
return implode(' ', $lib_names);