diff options
author | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2016-01-28 20:45:39 +0100 |
---|---|---|
committer | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2016-01-28 20:45:39 +0100 |
commit | d899dce5e1e356ff3e7ba6b595bdad87ec476fb6 (patch) | |
tree | ce131e829599befabd209064581137beb215a25d /templates | |
parent | c1a89b8d7635c20f50506730a43bd1469bde9ea7 (diff) |
Few more fixes to the Ruby installation.
-) properly depending on libraries.
-) adding an independent 'loader' class to use instead of require 'grpc/grpc'.
Diffstat (limited to 'templates')
-rw-r--r-- | templates/grpc.gemspec.template | 4 |
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 |