This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
ExtUtils::CBuilder: make sure the compiler finds the CORE include files for the syste...
authorTony Cook <tony@develop-help.com>
Tue, 11 Oct 2022 22:23:44 +0000 (09:23 +1100)
committerTony Cook <tony@develop-help.com>
Mon, 24 Oct 2022 04:24:57 +0000 (15:24 +1100)
commite3066f81ee14a85373ef082b9137f23b8314f795
tree880e8496fc27e23859c050eb770083990e8ce02e
parentecc84dedf845e12ad0ac28e42d0ea6bfe91aa0a3
ExtUtils::CBuilder: make sure the compiler finds the CORE include files for the system perl on darwin

The system compiler on sufficienctly recent darwin doesn't appear to
find header files installed with the system perl if the CORE include
directory is specified with -I, even if we've checked that directory
contains EXTERN.h.

EU::MM adopted a change from Apple's patches, and this change adapts
that change for ExtUtils::CBuilder.

This problem prevented ExtUtils::ParseXS tests from completing
successfully, failing to find EXTERN.h.
dist/ExtUtils-CBuilder/lib/ExtUtils/CBuilder/Platform/darwin.pm