summaryrefslogtreecommitdiff
path: root/lib/blib.pm
diff options
context:
space:
mode:
authorJan Dubois <jand@activestate.com>2007-01-03 00:48:22 -0800
committerSteve Peters <steve@fisharerojo.org>2007-01-03 18:23:32 +0000
commitc773137ed1d1b76e23d5e7a629fe138f442c94e4 (patch)
treebb649c166166974eab6af5d59ad9c93b40c90655 /lib/blib.pm
parentaa2b96eccca93a6fe7c95af71c0b4a027561512b (diff)
downloadperl-c773137ed1d1b76e23d5e7a629fe138f442c94e4.tar.gz
Update change 29607 to affect only Win32
Message-ID: <f9nnp2lf4hsb74jf9unlsj59ahsf4f1o1v@4ax.com> p4raw-id: //depot/perl@29676
Diffstat (limited to 'lib/blib.pm')
-rw-r--r--lib/blib.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/blib.pm b/lib/blib.pm
index 8a39dc871f..98f1612da5 100644
--- a/lib/blib.pm
+++ b/lib/blib.pm
@@ -47,7 +47,7 @@ sub import
{
my $package = shift;
my $dir;
- if ($^O eq "MSWin32") {
+ if ($^O eq "MSWin32" && -f "Win32.xs") {
# We don't use getcwd() on Windows because it will internally
# call Win32::GetCwd(), which will get the Win32 module loaded.
# That means that it would not be possible to run `make test`