perl-cross: fix . being included in INC

perl-cross set `default_inc_excludes_dot` to undefined by default. This
sets `-Ddefault_inc_excludes_dot` explicitly when cross compiling.
wip/yesman
Stig Palmquist 4 years ago
parent 06b27898a4
commit e2926577a1
No known key found for this signature in database
GPG Key ID: DA4C335C11D70DA7
  1. 2
      pkgs/development/interpreters/perl/default.nix

@ -73,7 +73,7 @@ let
# Miniperl needs -lm. perl needs -lrt.
configureFlags =
(if crossCompiling
then [ "-Dlibpth=\"\"" "-Dglibpth=\"\"" ]
then [ "-Dlibpth=\"\"" "-Dglibpth=\"\"" "-Ddefault_inc_excludes_dot" ]
else [ "-de" "-Dcc=cc" ])
++ [
"-Uinstallusrbinperl"

Loading…
Cancel
Save