1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

mkmf.rb: always try_compile as try_header

Get rid of "present but cannot be compiled" headers, on some
multi-architecture platforms.
This commit is contained in:
Nobuyoshi Nakada 2021-01-02 11:16:45 +09:00
parent a6bbba1135
commit 4b6fd8329b
No known key found for this signature in database
GPG key ID: 7CD2805BFA3770C6

View file

@ -616,7 +616,7 @@ MSG
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