0001-mkmf-s-system-configuration-should-use-expanded-valu.patch

Vit Ondruch, 06/26/2013 04:54 AM

Download (1 KB)

View differences:

lib/mkmf.rb
236 236
  end
237 237
  $extmk ||= false
238 238
  if not $extmk and File.exist?(RbConfig::CONFIG["rubyhdrdir"] + "/ruby/ruby.h")
239
    $hdrdir = CONFIG["rubyhdrdir"]
239
    $hdrdir = RbConfig::CONFIG["rubyhdrdir"]
240 240
    $topdir = $hdrdir
241 241
    $top_srcdir = $hdrdir
242
    $arch_hdrdir = CONFIG["rubyarchhdrdir"]
242
    $arch_hdrdir = RbConfig::CONFIG["rubyarchhdrdir"]
243 243
  elsif File.exist?(($hdrdir = ($top_srcdir ||= topdir) + "/include")  + "/ruby.h")
244 244
    $topdir ||= RbConfig::CONFIG["topdir"]
245 245
    $arch_hdrdir = "$(extout)/include/$(arch)"
246
-