Skip to content

Commit bf4b4cf

Browse files
committed
Let autoconf figure out the host
1 parent 581c626 commit bf4b4cf

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

build/patches2/rake-compiler-1.1.6/0004-Enable-build-of-static-libruby.patch

+9-6
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
1-
diff --git a/tasks/bin/cross-ruby.rake b/tasks/bin/cross-ruby.rake
2-
index 8317a2a..5a1b3ea 100644
3-
--- a/tasks/bin/cross-ruby.rake
4-
+++ b/tasks/bin/cross-ruby.rake
5-
@@ -116,10 +116,22 @@ RUBY_CC_VERSIONS.split(":").each do |ruby_cc_version|
6-
"--host=#{mingw_host}",
1+
diff --git i/tasks/bin/cross-ruby.rake w/tasks/bin/cross-ruby.rake
2+
index 8317a2a..6b5397b 100644
3+
--- i/tasks/bin/cross-ruby.rake
4+
+++ w/tasks/bin/cross-ruby.rake
5+
@@ -113,13 +113,24 @@ RUBY_CC_VERSIONS.split(":").each do |ruby_cc_version|
6+
file "#{build_dir}/Makefile" => [build_dir, source_dir] do |t|
7+
8+
options = [
9+
- "--host=#{mingw_host}",
710
"--target=#{mingw_target}",
811
"--build=#{RUBY_BUILD}",
912
- '--enable-shared',

0 commit comments

Comments
 (0)