ExtUtils::MakeMaker 6.55_02
[p5sagit/p5-mst-13.2.git] / lib / ExtUtils / t / fix_libs.t
index c683fc5..2a9bf0c 100644 (file)
@@ -2,8 +2,16 @@
 
 # Unit test the code which fixes up $self->{LIBS}
 
+BEGIN {
+    chdir 't' if -d 't';
+
+    if( $ENV{PERL_CORE} ) {
+        @INC = '../lib';
+    }
+}
+
 use strict;
-use lib 't/lib';
+use lib './lib';
 use Test::More 'no_plan';
 
 use ExtUtils::MakeMaker;