Merge pull request #670 from crazywhalecc/fix/gettext-typo

fix typo in gettext
This commit is contained in:
Marc 2025-03-21 07:38:48 +01:00 committed by GitHub
commit f0a895691b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -17,13 +17,17 @@ trait gettext
$ldflags = $this->builder->getOption('enable-zts') ? '-lpthread' : '';
shell()->cd($this->source_dir)
->setEnv(['CFLAGS' => "{$this->getLibExtraCFlags()} {$cflags}", 'LDFLAGS' => $this->getLibExtraLdFlags() ?: $ldflags, 'LIBS' => $this->getLibExtraLibs()])
->setEnv([
'CFLAGS' => "{$this->getLibExtraCFlags()} {$cflags}",
'LDFLAGS' => $this->getLibExtraLdFlags() ?: $ldflags,
'LIBS' => $this->getLibExtraLibs(),
])
->execWithEnv(
'./configure ' .
'--enable-static ' .
'--disable-shared ' .
'--disable-java ' .
'--disable-c+ ' .
'--disable-c++ ' .
$zts .
$extra .
'--with-included-gettext ' .