File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed
build/patches/rake-compiler-1.3.1 Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change 1+ diff --git a/tasks/bin/cross-ruby.rake b/tasks/bin/cross-ruby.rake
2+ index 3d23eed6..904c12e0 100644
3+ --- a/tasks/bin/cross-ruby.rake
4+ +++ b/tasks/bin/cross-ruby.rake
5+ @@ -150,6 +150,11 @@
6+
7+ # make
8+ file "#{build_dir}/ruby.exe" => ["#{build_dir}/Makefile"] do |t|
9+ + if ruby_cc_version.start_with?("ruby-4.0")
10+ + # https://bugs.ruby-lang.org/issues/21792 - hopefully will be fixed by 4.0.0 final
11+ + FileUtils.rm_f("#{USER_HOME}/sources/#{ruby_cc_version}/spec/ruby/optional/capi/ext/digest_spec.c")
12+ + end
13+ +
14+ if ruby_cc_version.start_with?("ruby-3.1") && mingw_target =~ /darwin/
15+ # for later 3.1.x releases, we need to explicitly build miniruby
16+ # see https://bugs.ruby-lang.org/issues/19239
You can’t perform that action at this time.
0 commit comments