From d51d121c0c52205393ae607ebfab5e50b5c9a491 Mon Sep 17 00:00:00 2001 From: "Nicolas \"Pixel\" Noble" Date: Sun, 31 Jan 2016 11:33:19 +0100 Subject: And the Windows extension finally loads. --- Rakefile | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'Rakefile') diff --git a/Rakefile b/Rakefile index 543d79061d..2c2fb1fcf3 100755 --- a/Rakefile +++ b/Rakefile @@ -24,6 +24,13 @@ Rake::ExtensionTask.new('grpc_c', spec) do |ext| ext.lib_dir = File.join('src', 'ruby', 'lib', 'grpc') ext.cross_compile = true ext.cross_platform = ['x86-mingw32', 'x64-mingw32'] + ext.cross_compiling do |spec| + spec.files = %w( etc/roots.pem grpc_c.32.ruby grpc_c.64.ruby ) + spec.files += Dir.glob('src/ruby/bin/**/*') + spec.files += Dir.glob('src/ruby/ext/**/*') + spec.files += Dir.glob('src/ruby/lib/**/*') + spec.files += Dir.glob('src/ruby/pb/**/*') + end end # Define the test suites -- cgit v1.2.3