aboutsummaryrefslogtreecommitdiffhomepage
path: root/templates/grpc.gemspec.template
diff options
context:
space:
mode:
Diffstat (limited to 'templates/grpc.gemspec.template')
-rw-r--r--templates/grpc.gemspec.template4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/grpc.gemspec.template b/templates/grpc.gemspec.template
index f015e539be..9d034ddba1 100644
--- a/templates/grpc.gemspec.template
+++ b/templates/grpc.gemspec.template
@@ -50,8 +50,8 @@
s.extensions = %w(src/ruby/ext/grpc/extconf.rb)
% for lib in libs:
- % if lib.name in ('gpr', 'grpc'):
- % for file in lib.public_headers + lib.headers + lib.src:
+ % if lib.name in ruby_gem.get('deps', []):
+ % for file in lib.get('public_headers', []) + lib.headers + lib.src:
s.files += %w( ${file} )
% endfor
% endif