mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-18 12:54:52 +08:00
fix typo in gettext
This commit is contained in:
parent
1ad33556e9
commit
1552d992df
@ -17,13 +17,17 @@ trait gettext
|
|||||||
$ldflags = $this->builder->getOption('enable-zts') ? '-lpthread' : '';
|
$ldflags = $this->builder->getOption('enable-zts') ? '-lpthread' : '';
|
||||||
|
|
||||||
shell()->cd($this->source_dir)
|
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(
|
->execWithEnv(
|
||||||
'./configure ' .
|
'./configure ' .
|
||||||
'--enable-static ' .
|
'--enable-static ' .
|
||||||
'--disable-shared ' .
|
'--disable-shared ' .
|
||||||
'--disable-java ' .
|
'--disable-java ' .
|
||||||
'--disable-c+ ' .
|
'--disable-c++ ' .
|
||||||
$zts .
|
$zts .
|
||||||
$extra .
|
$extra .
|
||||||
'--with-included-gettext ' .
|
'--with-included-gettext ' .
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user