diff options
Diffstat (limited to 'lib/ExtUtils/CBuilder/t/02-link.t')
-rw-r--r-- | lib/ExtUtils/CBuilder/t/02-link.t | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/ExtUtils/CBuilder/t/02-link.t b/lib/ExtUtils/CBuilder/t/02-link.t index 604e474134..30ecbe5d3b 100644 --- a/lib/ExtUtils/CBuilder/t/02-link.t +++ b/lib/ExtUtils/CBuilder/t/02-link.t @@ -51,6 +51,14 @@ my ($exe_file, @temps); ($exe_file, @temps) = $b->link_executable(objects => $object_file); ok $exe_file; +if ($^O eq 'os2') { # Analogue of LDLOADPATH... + # Actually, not needed now, since we do not link with the generated DLL + my $old = OS2::extLibpath(); # [builtin function] + $old = ";$old" if defined $old and length $old; + # To pass the sanity check, components must have backslashes... + OS2::extLibpath_set(".\\$old"); +} + # Try the executable ok my_system($exe_file), 11; |