From 200dcf2db697d94b10934bbe71061c25edec927f Mon Sep 17 00:00:00 2001 From: Gurusamy Sarathy Date: Thu, 25 Apr 2002 17:04:10 +0000 Subject: windows build fails if there is no perlglob.exe in the PATH p4raw-id: //depot/perl@16160 --- win32/buildext.pl | 3 +++ 1 file changed, 3 insertions(+) (limited to 'win32/buildext.pl') diff --git a/win32/buildext.pl b/win32/buildext.pl index b5fd4d40c9..a7cc19b5d0 100644 --- a/win32/buildext.pl +++ b/win32/buildext.pl @@ -28,6 +28,9 @@ if ($perl =~ m#^\.\.#) { $perl = "$here\\$perl"; } +(my $topdir = $perl) =~ s/\\[^\\]+$//; +$ENV{PATH} = "$topdir;$ENV{PATH}"; # so miniperl can find perlglob.exe +#print "PATH=$ENV{PATH}\n"; my $make = shift; $make .= " ".shift while $ARGV[0]=~/^-/; my $dep = shift; -- cgit v1.2.1