summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorSutou Kouhei <kou@clear-code.com>2020-11-16 21:54:18 (GMT)
committerSutou Kouhei <kou@cozmixng.org>2020-11-18 00:05:13 (GMT)
commit3b385c33b840218a51736946624de5b0226d52c8 (patch)
tree6ef3d0ee7dc85aa2d2c334d66a4d06a79571e371 /ext
parent821cfa74cb6c5b778928e880c08d61265e539c60 (diff)
[ruby/fiddle] Add workaround for ruby head for mingw
https://github.com/ruby/fiddle/commit/bb227c206d
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/3780
Diffstat (limited to 'ext')
-rw-r--r--ext/fiddle/fiddle.gemspec4
1 files changed, 3 insertions, 1 deletions
diff --git a/ext/fiddle/fiddle.gemspec b/ext/fiddle/fiddle.gemspec
index a951439..c3e6d48 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