diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 2002-04-25 17:04:10 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 2002-04-25 17:04:10 +0000 |
commit | 200dcf2db697d94b10934bbe71061c25edec927f (patch) | |
tree | 2a01faa0c8a38db4077f00e4c3620f375d679b3a /win32 | |
parent | 0646842fe9b2f931087d7ce93c45427c5981484b (diff) | |
download | perl-200dcf2db697d94b10934bbe71061c25edec927f.tar.gz |
windows build fails if there is no perlglob.exe in the PATH
p4raw-id: //depot/perl@16160
Diffstat (limited to 'win32')
-rw-r--r-- | win32/buildext.pl | 3 |
1 files changed, 3 insertions, 0 deletions
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; |