summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Rakefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Rakefile b/Rakefile
index a74bc9f..ce27f29 100644
--- a/Rakefile
+++ b/Rakefile
@@ -113,7 +113,7 @@ desc "build a windows gem without all the ceremony"
task "gem:windows" do
require "rake_compiler_dock"
sh "bundle package"
- RakeCompilerDock.sh "sudo apt-get update && sudo apt-get install -y libltdl-dev && bundle --local && rake cross native gem MAKE='nice make -j`nproc`'"
+ RakeCompilerDock.sh "sudo apt-get update && sudo apt-get install -y libltdl-dev && bundle --local && rake cross native gem MAKE='nice make -j`nproc`' RUBY_CC_VERSION=${RUBY_CC_VERSION/:2.2.2/}"
end
directory "ext/ffi_c/libffi"