ruby-changes:64710
From: Nobuyoshi <ko1@a...>
Date: Sat, 2 Jan 2021 12:21:24 +0900 (JST)
Subject: [ruby-changes:64710] 4b6fd8329b (master): mkmf.rb: always try_compile as try_header
https://git.ruby-lang.org/ruby.git/commit/?id=4b6fd8329b From 4b6fd8329b46701414aba2eeca10013cf66ec513 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Sat, 2 Jan 2021 11:16:45 +0900 Subject: mkmf.rb: always try_compile as try_header Get rid of "present but cannot be compiled" headers, on some multi-architecture platforms. diff --git a/lib/mkmf.rb b/lib/mkmf.rb index d4fbabe..488f787 100644 --- a/lib/mkmf.rb +++ b/lib/mkmf.rb @@ -616,7 +616,7 @@ MSG https://github.com/ruby/ruby/blob/trunk/lib/mkmf.rb#L616 MakeMakefile.rm_f "#{CONFTEST}*" end - alias_method :try_header, (config_string('try_header') || :try_cpp) + alias try_header try_compile def cpp_include(header) if header -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/