This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
MakeMaker sync 5.48_03 -> 5.53_01
[perl5.git] / lib / ExtUtils / t / MM_OS2.t
index ad7d4b5..53b83f3 100644 (file)
@@ -1,15 +1,17 @@
 #!/usr/bin/perl -w
 
-use strict;
-
 BEGIN {
     if( $ENV{PERL_CORE} ) {
         chdir 't' if -d 't';
         @INC = '../lib';
     }
+    else {
+        unshift @INC, 't/lib';
+    }
 }
 chdir 't';
 
+use strict;
 use Test::More;
 if ($^O =~ /os2/i) {
        plan( tests => 32 );