Skip to content

Commit

Permalink
fix(cmake): fix bundled GRPC_LIBRARIES order
Browse files Browse the repository at this point in the history
When building with the bundled grpc on big-endian platforms,
the`libabsl_random_internal_platform.a` needs to be after the
other `libabsl_random_internal_*` libraries to avoid undefined
references when linking.

Signed-off-by: Jonathan Albrecht <[email protected]>
  • Loading branch information
jonathan-albrecht-ibm authored and leogr committed Jan 26, 2023
1 parent 5bd5977 commit ef79ae2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/modules/grpc.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -132,9 +132,9 @@ else()
"${GRPC_SRC}/third_party/abseil-cpp/absl/random/libabsl_random_internal_randen.a"
"${GRPC_SRC}/third_party/abseil-cpp/absl/random/libabsl_random_internal_randen_hwaes.a"
"${GRPC_SRC}/third_party/abseil-cpp/absl/random/libabsl_random_internal_randen_hwaes_impl.a"
"${GRPC_SRC}/third_party/abseil-cpp/absl/random/libabsl_random_internal_platform.a"
"${GRPC_SRC}/third_party/abseil-cpp/absl/random/libabsl_random_internal_randen_slow.a"
"${GRPC_SRC}/third_party/abseil-cpp/absl/random/libabsl_random_internal_seed_material.a"
"${GRPC_SRC}/third_party/abseil-cpp/absl/random/libabsl_random_internal_platform.a"
"${GRPC_SRC}/third_party/abseil-cpp/absl/random/libabsl_random_seed_gen_exception.a"
)

Expand Down

0 comments on commit ef79ae2

Please sign in to comment.