mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-18 21:04:52 +08:00
grpc can be built shared too
This commit is contained in:
parent
0ccf1a1c5d
commit
bd0042f079
@ -56,7 +56,7 @@ class grpc extends Extension
|
|||||||
|
|
||||||
public function getUnixConfigureArg(bool $shared = false): string
|
public function getUnixConfigureArg(bool $shared = false): string
|
||||||
{
|
{
|
||||||
return '--enable-grpc=' . BUILD_ROOT_PATH . '/grpc GRPC_LIB_SUBDIR=' . BUILD_LIB_PATH;
|
return '--enable-grpc=' . ($shared ? 'shared,' : '') . BUILD_ROOT_PATH . '/grpc GRPC_LIB_SUBDIR=' . BUILD_LIB_PATH;
|
||||||
}
|
}
|
||||||
|
|
||||||
private function getLibraries(): array
|
private function getLibraries(): array
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user