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 77 forks source link

Don't use canned libpth values #398

Closed Leont closed 2 years ago

Leont commented 3 years ago

On many platforms, these can change with compiler upgrades. Instead of using the values that were valid when perl was configured, this will ask the compiler for the valid values if possible.

xenu commented 3 years ago

tbh I don't understand why EU::MM verifies the existence of libraries at all. It seems that the only purpose of that is to cause build errors.

Leont commented 3 years ago

tbh I don't understand why EU::MM verifies the existence of libraries at all. It seems that the only purpose of that is to cause build errors.

I also think it's a misfeature, but people depend on it. In particular they depend on giving multiple options, and MakeMaker picking the first one that would succeed.