Skip to content

Commit f0a8956

Browse files
authored
Merge pull request #670 from crazywhalecc/fix/gettext-typo
fix typo in gettext
2 parents 0bc143c + 1f7c805 commit f0a8956

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/SPC/builder/unix/library/gettext.php

+6-2
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,17 @@ protected function build(): void
1717
$ldflags = $this->builder->getOption('enable-zts') ? '-lpthread' : '';
1818

1919
shell()->cd($this->source_dir)
20-
->setEnv(['CFLAGS' => "{$this->getLibExtraCFlags()} {$cflags}", 'LDFLAGS' => $this->getLibExtraLdFlags() ?: $ldflags, 'LIBS' => $this->getLibExtraLibs()])
20+
->setEnv([
21+
'CFLAGS' => "{$this->getLibExtraCFlags()} {$cflags}",
22+
'LDFLAGS' => $this->getLibExtraLdFlags() ?: $ldflags,
23+
'LIBS' => $this->getLibExtraLibs(),
24+
])
2125
->execWithEnv(
2226
'./configure ' .
2327
'--enable-static ' .
2428
'--disable-shared ' .
2529
'--disable-java ' .
26-
'--disable-c+ ' .
30+
'--disable-c++ ' .
2731
$zts .
2832
$extra .
2933
'--with-included-gettext ' .

0 commit comments

Comments
 (0)