rubygem-ruby-shadow/ruby-shadow-2.5.1-extconf-ruby32-fix.patch

14 lines
431 B
Diff
Raw Normal View History

2023-08-01 10:04:55 +08:00
diff --git a/extconf.rb b/extconf.rb
index d17f926..55dcff5 100644
--- a/extconf.rb
+++ b/extconf.rb
@@ -14,7 +14,7 @@ $CFLAGS = case RUBY_VERSION
else; ''
end
-implementation = case CONFIG['host_os']
+implementation = case RbConfig::CONFIG['host_os']
when /linux/i; 'shadow'
when /sunos|solaris/i; 'shadow'
when /freebsd|mirbsd|netbsd|openbsd/i; 'pwd'