diff options
author | Steve Hay <SteveHay@planit.com> | 2009-09-13 03:31:59 +0100 |
---|---|---|
committer | Steve Hay <SteveHay@planit.com> | 2009-09-13 03:31:59 +0100 |
commit | 9ddff1485169a2ddf8548bfc8dce819bad389a50 (patch) | |
tree | ffc6e02024140be0d8a9ad2517f8d4f1b0a2cc0c /make_ext.pl | |
parent | c3ef65fb933ae58fe727401c5b3d46f2cf8a1bda (diff) | |
download | perl-9ddff1485169a2ddf8548bfc8dce819bad389a50.tar.gz |
Fix Win32 build
1. Revert 7d8fed6 (rendered redundant by c3ef65f)
2. Change path to Cwd in make_ext.pl on Win32--Win32 runs make_ext.pl from
the win32/ sub-directory, not from the top-level directory.
3. Likewise change path to Cwd in makefile invocations of xsubpp and
splittree.pl.
Diffstat (limited to 'make_ext.pl')
-rw-r--r-- | make_ext.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/make_ext.pl b/make_ext.pl index e81ca51ac1..b0be209a70 100644 --- a/make_ext.pl +++ b/make_ext.pl @@ -3,7 +3,7 @@ use strict; use warnings; use Config; BEGIN { - unshift @INC, 'ext/Cwd'; + unshift @INC, $^O eq 'MSWin32' ? '../ext/Cwd' : 'ext/Cwd'; } use Cwd; |