diff options
author | H.Merijn Brand <h.m.brand@xs4all.nl> | 2011-11-15 17:07:56 +0100 |
---|---|---|
committer | H.Merijn Brand <h.m.brand@xs4all.nl> | 2011-11-15 17:07:56 +0100 |
commit | 3ac704c6958a49066b823e6ee34fbbcbab4e8b9d (patch) | |
tree | fec0f3556d6c06fdfc02c9c4e5742a7b9f459ddb /utils | |
parent | b132e3dc9388c54fc5e9e0e097102a5146946fc0 (diff) | |
download | perl-3ac704c6958a49066b823e6ee34fbbcbab4e8b9d.tar.gz |
$Config{locincpath} might be empty
This causes h2xs.t to fail on systems where that is the case
Diffstat (limited to 'utils')
-rw-r--r-- | utils/h2xs.PL | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/h2xs.PL b/utils/h2xs.PL index 634e891f84..6239f8f26f 100644 --- a/utils/h2xs.PL +++ b/utils/h2xs.PL @@ -789,7 +789,7 @@ if( @path_h ){ } else { @paths = (File::Spec->curdir(), $Config{usrinc}, - (split ' ', $Config{locincpth}), '/usr/include'); + (split / +/, $Config{locincpth} // ""), '/usr/include'); } foreach my $path_h (@path_h) { $name ||= $path_h; |