File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
src/SPC/builder/unix/library Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff 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 ' .
You can’t perform that action at this time.
0 commit comments