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:
Stig Palmquist 2020-09-22 14:20:31 +02:00
parent 06b27898a4
commit e2926577a1
No known key found for this signature in database
GPG Key ID: DA4C335C11D70DA7

View File

@ -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"