Changeset View
Changeset View
Standalone View
Standalone View
head/lang/ruby26/files/patch-lib_mkmf.rb
Property | Old Value | New Value |
---|---|---|
fbsd:nokeywords | null | yes \ No newline at end of property |
svn:eol-style | null | native \ No newline at end of property |
svn:mime-type | null | text/plain \ No newline at end of property |
--- lib/mkmf.rb.orig 2018-10-09 14:09:35 UTC | |||||
+++ lib/mkmf.rb | |||||
@@ -234,7 +234,7 @@ module MakeMakefile | |||||
end | |||||
$extmk ||= false | |||||
if not $extmk and File.exist?(($hdrdir = RbConfig::CONFIG["rubyhdrdir"]) + "/ruby/ruby.h") | |||||
- $topdir = $hdrdir | |||||
+ $topdir = $hdrdir + "/" + "#{CONFIG['arch']}/ruby/" | |||||
$top_srcdir = $hdrdir | |||||
$arch_hdrdir = RbConfig::CONFIG["rubyarchhdrdir"] | |||||
elsif File.exist?(($hdrdir = ($top_srcdir ||= topdir) + "/include") + "/ruby.h") |