14 lines
431 B
Diff
14 lines
431 B
Diff
|
|
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'
|