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:
parent
a6bbba1135
commit
4b6fd8329b
@ -616,7 +616,7 @@ MSG
|
|||||||
MakeMakefile.rm_f "#{CONFTEST}*"
|
MakeMakefile.rm_f "#{CONFTEST}*"
|
||||||
end
|
end
|
||||||
|
|
||||||
alias_method :try_header, (config_string('try_header') || :try_cpp)
|
alias try_header try_compile
|
||||||
|
|
||||||
def cpp_include(header)
|
def cpp_include(header)
|
||||||
if header
|
if header
|
||||||
|
Loading…
x
Reference in New Issue
Block a user