We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2e051ca commit ff54460Copy full SHA for ff54460
1 file changed
resources/patches/ruby_32/ruby-shadow-rbconfig.patch
@@ -12,14 +12,15 @@ diff --git a/extconf.rb b/extconf.rb
12
index ac54233..55dcff5 100644
13
--- a/extconf.rb
14
+++ b/extconf.rb
15
-@@ -10,10 +10,11 @@ require 'rbconfig'
+@@ -10,11 +10,11 @@ require 'rbconfig'
16
$CFLAGS = case RUBY_VERSION
17
when /^1\.9/; '-DRUBY19'
18
when /^2\./; '-DRUBY19'
19
+- when /^3\./; '-DRUBY19'
20
+ when /^3\./; RUBY_PLATFORM =~ /darwin/ ? '-DRUBY19 -fms-extensions' : '-DRUBY19'
21
else; ''
22
end
-
23
+
24
-implementation = case CONFIG['host_os']
25
+implementation = case RbConfig::CONFIG['host_os']
26
when /linux/i; 'shadow'
0 commit comments