[前][次][番号順一覧][スレッド一覧]

ruby-changes:63639

From: Sutou <ko1@a...>
Date: Wed, 18 Nov 2020 09:05:44 +0900 (JST)
Subject: [ruby-changes:63639] 3b385c33b8 (master): [ruby/fiddle] Add workaround for ruby head for mingw

https://git.ruby-lang.org/ruby.git/commit/?id=3b385c33b8

From 3b385c33b840218a51736946624de5b0226d52c8 Mon Sep 17 00:00:00 2001
From: Sutou Kouhei <kou@c...>
Date: Tue, 17 Nov 2020 06:54:18 +0900
Subject: [ruby/fiddle] Add workaround for ruby head for mingw

https://github.com/ruby/fiddle/commit/bb227c206d

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| https://github.com/ruby/ruby/blob/trunk/ext/fiddle/fiddle.gemspec#L66
   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
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]