diff options
author | Alexander Polcyn <apolcyn@google.com> | 2018-03-06 16:16:57 -0800 |
---|---|---|
committer | Alexander Polcyn <apolcyn@google.com> | 2018-03-27 11:14:21 -0700 |
commit | a803c0340a54a97ed4b20cdd968f09b2b376b484 (patch) | |
tree | 76e9d91647ce0ca795c17e64681c9e8249602835 /Rakefile | |
parent | 8327acd9a23d80e979eb890b71a53966c3509a6d (diff) |
Remove source code and the grpc_c.so file that was built as a local binary from the ruby
binary packages
Diffstat (limited to 'Rakefile')
-rwxr-xr-x | Rakefile | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -23,6 +23,12 @@ end # Add the extension compiler task Rake::ExtensionTask.new('grpc_c', spec) do |ext| + unless RUBY_PLATFORM =~ /darwin/ + # TODO: also set "no_native to true" for mac if possible. As is, + # "no_native" can only be set if the RUBY_PLATFORM doing + # cross-compilation is contained in the "ext.cross_platform" array. + ext.no_native = true + end ext.source_pattern = '**/*.{c,h}' ext.ext_dir = File.join('src', 'ruby', 'ext', 'grpc') ext.lib_dir = File.join('src', 'ruby', 'lib', 'grpc') |