Skip to content

Commit 2f60681

Browse files
mohawk2bingos
authored andcommitted
blank perllibs else on Windows :nosearch gives long extra list
1 parent d21fe26 commit 2f60681

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

t/Liblist_Kid.t

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,14 +42,15 @@ test_kid_win32() if $OS eq 'win32';
4242
# system configuration does not affect the test results.
4343

4444
sub conf_reset {
45-
my @save_keys = qw{ so dlsrc osname perllibs };
45+
my @save_keys = qw{ so dlsrc osname };
4646
my %save_config;
4747
@save_config{ @save_keys } = @Config{ @save_keys };
4848
delete $Config{$_} for keys %Config;
4949
%Config = %save_config;
50-
$Config{installarchlib} = 'lib';
5150
# The following are all used and always are defined in the real world.
5251
# Define them to something here to avoid spewing uninitialized value warnings.
52+
$Config{installarchlib} = 'lib';
53+
$Config{perllibs} = ''; # else on Windows :nosearch gives long extra list
5354
if ($^O eq 'VMS') {
5455
$Config{ldflags} = '';
5556
$Config{dbgprefix} = '';

0 commit comments

Comments
 (0)