diff options
author | Michael G. Schwern <schwern@pobox.com> | 2002-03-29 12:48:22 -0500 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2002-03-30 23:30:45 +0000 |
commit | e7d8b26b5831ffd4d8deae9b5ea0e13886d94df2 (patch) | |
tree | 4e4393c6531c5976c0c433f0d2795dae66089320 /win32/buildext.pl | |
parent | fd0a5cd9df15d56f87f257493f34eeb82423968c (diff) | |
download | perl-e7d8b26b5831ffd4d8deae9b5ea0e13886d94df2.tar.gz |
Re: compile tweak for Win32
Message-ID: <20020329224822.GG16816@blackrider>
p4raw-id: //depot/perl@15631
Diffstat (limited to 'win32/buildext.pl')
-rw-r--r-- | win32/buildext.pl | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/win32/buildext.pl b/win32/buildext.pl index ab4345cb3c..b5fd4d40c9 100644 --- a/win32/buildext.pl +++ b/win32/buildext.pl @@ -48,8 +48,10 @@ foreach my $dir (sort @ext) if (!(-f 'Makefile') || $mmod > $dmod) { print "\nRunning Makefile.PL in $dir\n"; - print "$perl \"-I$here\\..\\lib\" Makefile.PL INSTALLDIRS=perl\n"; - my $code = system($perl,"-I$here\\..\\lib",'Makefile.PL','INSTALLDIRS=perl'); + my @perl = ($perl, "-I$here\\..\\lib", 'Makefile.PL', + 'INSTALLDIRS=perl', 'PERL_CORE=1'); + print join(' ', @perl), "\n"; + my $code = system(@perl); warn "$code from $dir's Makefile.PL" if $code; $mmod = -M 'Makefile'; if ($mmod > $dmod) |