Skip to content

Commit 3ae8f20

Browse files
mohawk2bingos
authored andcommitted
more VMS handling of Config
1 parent 34e77b0 commit 3ae8f20

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

t/Liblist_Kid.t

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,19 @@ sub conf_reset {
5858
delete $Config{$_} for keys %Config;
5959
%Config = %save_config;
6060
$Config{installarchlib} = 'lib';
61+
# The following are all used and always are defined in the real world.
62+
# Define them to something here to avoid spewing uninitialized value warnings.
63+
if ($^O eq 'VMS') {
64+
$Config{ldflags} = '';
65+
$Config{dbgprefix} = '';
66+
$Config{libc} = '';
67+
$Config{ext_ext} = '';
68+
$Config{lib_ext} = '';
69+
$Config{obj_ext} = '';
70+
$Config{so} = '';
71+
$Config{vms_cc_type} = '';
72+
$Config{libpth} = '';
73+
}
6174
delete $ENV{LIB};
6275
delete $ENV{LIBRARY_PATH};
6376
return;

0 commit comments

Comments
 (0)