arsv / perl-cross

configure and cross-compile perl
Other
81 stars 28 forks source link

perl is built with . in INC by default #98

Closed stigtsp closed 3 years ago

stigtsp commented 3 years ago

default_inc_excludes_dot defaults to undef when building cross building perl, not sure if this is intentional.

-Ddefault_inc_excludes_dot is needed to avoid this in https://github.com/NixOS/nixpkgs/pull/98466

arsv commented 3 years ago

Updated to match current mainline perl.

For some reason, it was "define" for cperl but "undef" for regular perl. Most likely matching respective defaults at the time it was added.

https://github.com/arsv/perl-cross/blob/c2707f403df9fa6c718efb9f03b02fc6b7c9d4ff/cnf/configure_version.sh#L60-L68

stigtsp commented 3 years ago

@arsv thx for quick fix! :+1: