File tree Expand file tree Collapse file tree 3 files changed +4
-6
lines changed
src/SPC/builder/unix/library Expand file tree Collapse file tree 3 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -58,8 +58,8 @@ protected function build(): void
5858 }
5959 // lib:ngtcp2
6060 if ($ ngtcp2 = $ this ->builder ->getLib ('ngtcp2 ' )) {
61- $ extra .= '-DUSE_NGTCP2=ON '
62- /* @phpstan-ignore-next-line */ .
61+ $ extra .= '-DUSE_NGTCP2=ON ' .
62+ /* @phpstan-ignore-next-line */
6363 '-DNGTCP2_LIBRARY=" ' . $ ngtcp2 ->getStaticLibFiles (style: 'cmake ' ) . '" ' .
6464 '-DNGTCP2_INCLUDE_DIR=" ' . BUILD_INCLUDE_PATH . '" ' ;
6565 } else {
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ protected function build(): void
2626 ->setEnv ([
2727 'CFLAGS ' => $ this ->getLibExtraCFlags (),
2828 'LDFLAGS ' => $ this ->getLibExtraLdFlags (),
29- 'LIBS ' => $ this ->getLibExtraLibs ()
29+ 'LIBS ' => $ this ->getLibExtraLibs (),
3030 ])
3131 ->execWithEnv (
3232 './configure ' .
Original file line number Diff line number Diff line change 44
55namespace SPC \builder \unix \library ;
66
7- use SPC \builder \LibraryBase ;
87use SPC \exception \FileSystemException ;
98use SPC \exception \RuntimeException ;
109use SPC \exception \WrongUsageException ;
11- use SPC \store \FileSystem ;
1210
1311trait ngtcp2
1412{
@@ -31,7 +29,7 @@ protected function build(): void
3129 ->setEnv ([
3230 'CFLAGS ' => $ this ->getLibExtraCFlags (),
3331 'LDFLAGS ' => $ this ->getLibExtraLdFlags (),
34- 'LIBS ' => $ this ->getLibExtraLibs ()
32+ 'LIBS ' => $ this ->getLibExtraLibs (),
3533 ])
3634 ->execWithEnv (
3735 './configure ' .
You can’t perform that action at this time.
0 commit comments