Skip to content

Commit 7504afc

Browse files
authored
Merge pull request #822 from murgatroid99/tools_build_fix
Build grpc-tools with static libc
2 parents 1676257 + a9514ad commit 7504afc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/grpc-tools/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ add_subdirectory(${PROTOBUF_ROOT_DIR}/cmake deps/protobuf)
1313
set(protobuf_BUILD_TESTS OFF CACHE BOOL "Build protobuf tests")
1414
set(protobuf_WITH_ZLIB OFF CACHE BOOL "Build protobuf with zlib.")
1515

16+
set(CMAKE_EXE_LINKER_FLAGS "-static-libstdc++")
17+
1618
add_executable(grpc_node_plugin
1719
src/node_generator.cc
1820
src/node_plugin.cc

0 commit comments

Comments
 (0)