mirror of https://github.com/grpc/grpc.git
[ruby] Fix linking errors on x86-darwin (#34134)
https://github.com/grpc/grpc/pull/33538 added `-weak_framework CoreFoundation` in `DLDFLAGS` for only `arm64-darwin` builds, but the issue reported in https://github.com/grpc/grpc/issues/33483 can also happen on `x86-darwin` builds. This can happen if: 1. The Ruby interpreter is compiled without `-Wl,-undefined,dynamic_lookup`. 2. This happens if the Ruby interpreter is built with XCode 14.0 to 14.2 (https://bugs.ruby-lang.org/issues/19005). Simplify the logic and always include `-weak_framework CoreFoundation` for macOS builds.pull/34439/head
parent
d636507ba9
commit
b3467cdab4
1 changed files with 1 additions and 1 deletions
Loading…
Reference in new issue