forked from mirrors/nixpkgs
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.
This commit is contained in:
parent
06b27898a4
commit
e2926577a1
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue