Project

General

Profile

Bug #8115 » 0001-mkmf-s-system-configuration-should-use-expanded-valu.patch

vo.x (Vit Ondruch), 06/26/2013 04:54 AM

View differences:

lib/mkmf.rb
end
$extmk ||= false
if not $extmk and File.exist?(RbConfig::CONFIG["rubyhdrdir"] + "/ruby/ruby.h")
$hdrdir = CONFIG["rubyhdrdir"]
$hdrdir = RbConfig::CONFIG["rubyhdrdir"]
$topdir = $hdrdir
$top_srcdir = $hdrdir
$arch_hdrdir = CONFIG["rubyarchhdrdir"]
$arch_hdrdir = RbConfig::CONFIG["rubyarchhdrdir"]
elsif File.exist?(($hdrdir = ($top_srcdir ||= topdir) + "/include") + "/ruby.h")
$topdir ||= RbConfig::CONFIG["topdir"]
$arch_hdrdir = "$(extout)/include/$(arch)"
(2-2/2)