From 3b385c33b840218a51736946624de5b0226d52c8 Mon Sep 17 00:00:00 2001 From: Sutou Kouhei Date: Tue, 17 Nov 2020 06:54:18 +0900 Subject: [PATCH] [ruby/fiddle] Add workaround for ruby head for mingw https://github.com/ruby/fiddle/commit/bb227c206d --- ext/fiddle/fiddle.gemspec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ext/fiddle/fiddle.gemspec b/ext/fiddle/fiddle.gemspec index a9514399f0..c3e6d48b89 100644 --- a/ext/fiddle/fiddle.gemspec +++ b/ext/fiddle/fiddle.gemspec @@ -66,5 +66,7 @@ Gem::Specification.new do |spec| spec.add_development_dependency "rake" spec.add_development_dependency "rake-compiler" - spec.metadata["msys2_mingw_dependencies"] = "libffi" + # ruby head for mingw uses sub!: + # https://github.com/MSP-Greg/ruby-loco/blob/master/patches/__operating_system.rb.patch + spec.metadata["msys2_mingw_dependencies"] = +"libffi" end