Skip to content

Commit ff54460

Browse files
committed
Update ruby-shadow-rbconfig.patch for new version
1 parent 2e051ca commit ff54460

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

resources/patches/ruby_32/ruby-shadow-rbconfig.patch

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,15 @@ diff --git a/extconf.rb b/extconf.rb
1212
index ac54233..55dcff5 100644
1313
--- a/extconf.rb
1414
+++ b/extconf.rb
15-
@@ -10,10 +10,11 @@ require 'rbconfig'
15+
@@ -10,11 +10,11 @@ require 'rbconfig'
1616
$CFLAGS = case RUBY_VERSION
1717
when /^1\.9/; '-DRUBY19'
1818
when /^2\./; '-DRUBY19'
19+
- when /^3\./; '-DRUBY19'
1920
+ when /^3\./; RUBY_PLATFORM =~ /darwin/ ? '-DRUBY19 -fms-extensions' : '-DRUBY19'
2021
else; ''
2122
end
22-
23+
2324
-implementation = case CONFIG['host_os']
2425
+implementation = case RbConfig::CONFIG['host_os']
2526
when /linux/i; 'shadow'

0 commit comments

Comments
 (0)