mirror of https://github.com/grpc/grpc.git
Fix Ruby build errors in 3.2.0 on Apple M1 (#31997)
Previously attempting to build the Ruby C extensionwould result in undefined symbol: ``` Undefined symbols for architecture arm64: "_ruby_abi_version", referenced from: -exported_symbol[s_list] command line option ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation) ``` As noted in https://github.com/ruby/ruby/pull/6231, `_ruby_abi_version` is only available for development versions. `RUBY_PATCHLEVEL` < 0 denotes a development version, while >= 0 denotes a released version.pull/32021/head
parent
2c4d55b3a1
commit
06a9fbd382
1 changed files with 3 additions and 0 deletions
Loading…
Reference in new issue