diff --git a/extconf.rb b/extconf.rb index d17f926..55dcff5 100644 --- a/extconf.rb +++ b/extconf.rb @@ -14,7 +14,7 @@ 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'