Skip to content

Commit

Permalink
fix double linking of reflection
Browse files Browse the repository at this point in the history
  • Loading branch information
rainerschoe committed Sep 25, 2024
1 parent 1b8ce9d commit e67d79c
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions tests/testServer/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,6 @@ MakeKeyCert
target_link_libraries(${TARGET_NAME}
PUBLIC
${TARGET_NAME}_protobuf

# we need to link the whole reflection lib, even though the compiler might
# think we do not use any symbols. (This is because gRPC dynamically
# checks if reflection is linked and has no hard dependency on any symbols
# there)
# This is done with --no-as-needed in case we link dynamically and
# --whole-archive in case we link statically.
-Wl,--push-state,--no-as-needed,--whole-archive ${LIB_GRPC++_REFLECTION} -Wl,--pop-state

protoDoc
gwhisperUtils
)
Expand Down

0 comments on commit e67d79c

Please sign in to comment.