Perl-Toolchain-Gang / ExtUtils-MakeMaker

Perl module to make Makefiles and build modules (what backs Makefile.PL)
https://metacpan.org/release/ExtUtils-MakeMaker
64 stars 76 forks source link

fix have_compiler when cross-compiling #411

Open fperrad opened 2 years ago

fperrad commented 2 years ago

the short cut introduced by the commit https://github.com/Perl-Toolchain-Gang/ExtUtils-MakeMaker/commit/5e55318a97616596447c336b9cb331a8dfdc62d5 must depend on $Config{'usecrosscompile'}.

mohawk2 commented 2 years ago

This seems sensible.

Leont commented 2 years ago

Doesn't that reintroduce the issue that 5e55318 sought to fix for cross-compiling perls?

fperrad commented 2 years ago

after comments from @Leont , I rewrite the patch in a saner way : the short cut always applies when PERL_CORE.