From 9ddff1485169a2ddf8548bfc8dce819bad389a50 Mon Sep 17 00:00:00 2001 From: Steve Hay Date: Sun, 13 Sep 2009 03:31:59 +0100 Subject: 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. --- make_ext.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'make_ext.pl') 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; -- cgit v1.2.1