setup.rb in rmagick-2.13.1 vs setup.rb in rmagick-2.13.2
- old
+ new
@@ -782,10 +782,10 @@
load File.expand_path(arg.split(/=/, 2)[1])
$".push 'rbconfig.rb'
else
require 'rbconfig'
end
- ::Config::CONFIG
+ defined?(RbConfig) ? ::RbConfig::CONFIG : ::Config::CONFIG
end
def initialize(ardir_root, config)
@ardir = File.expand_path(ardir_root)
@config = config