summaryrefslogtreecommitdiffstats
path: root/contrib/perl5/t/lib/errno.t
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/perl5/t/lib/errno.t')
-rwxr-xr-xcontrib/perl5/t/lib/errno.t6
1 files changed, 5 insertions, 1 deletions
diff --git a/contrib/perl5/t/lib/errno.t b/contrib/perl5/t/lib/errno.t
index 6320f6b..02f5ce2 100755
--- a/contrib/perl5/t/lib/errno.t
+++ b/contrib/perl5/t/lib/errno.t
@@ -3,7 +3,11 @@
BEGIN {
unless(grep /blib/, @INC) {
chdir 't' if -d 't';
- unshift @INC, '../lib' if -d '../lib';
+ if ($^O eq 'MacOS') {
+ @INC = qw(: ::lib ::macos:lib);
+ } else {
+ @INC = '../lib';
+ }
}
}
OpenPOWER on IntegriCloud