We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0bc143c + 1f7c805 commit f0a8956Copy full SHA for f0a8956
src/SPC/builder/unix/library/gettext.php
@@ -17,13 +17,17 @@ protected function build(): void
17
$ldflags = $this->builder->getOption('enable-zts') ? '-lpthread' : '';
18
19
shell()->cd($this->source_dir)
20
- ->setEnv(['CFLAGS' => "{$this->getLibExtraCFlags()} {$cflags}", 'LDFLAGS' => $this->getLibExtraLdFlags() ?: $ldflags, 'LIBS' => $this->getLibExtraLibs()])
+ ->setEnv([
21
+ 'CFLAGS' => "{$this->getLibExtraCFlags()} {$cflags}",
22
+ 'LDFLAGS' => $this->getLibExtraLdFlags() ?: $ldflags,
23
+ 'LIBS' => $this->getLibExtraLibs(),
24
+ ])
25
->execWithEnv(
26
'./configure ' .
27
'--enable-static ' .
28
'--disable-shared ' .
29
'--disable-java ' .
- '--disable-c+ ' .
30
+ '--disable-c++ ' .
31
$zts .
32
$extra .
33
'--with-included-gettext ' .
0 commit comments