From 3af308c73aa7e9426250922a5779b8f3f7ae2095 Mon Sep 17 00:00:00 2001 From: Simon Cozens Date: Tue, 28 Nov 2000 12:44:35 +0000 Subject: perlcc.PL cleanups Message-ID: <20001128124435.A5500@pembro33.pmb.ox.ac.uk> p4raw-id: //depot/perl@7900 --- utils/perlcc.PL | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'utils/perlcc.PL') diff --git a/utils/perlcc.PL b/utils/perlcc.PL index 0c4b726d35..a9501305c8 100644 --- a/utils/perlcc.PL +++ b/utils/perlcc.PL @@ -308,10 +308,10 @@ sub cc_harness { my ($cfile,$stash)=@_; use ExtUtils::Embed (); my $command = ExtUtils::Embed::ccopts." -o $Output $cfile "; - $command .= join " -I", split /\s+/, opt(I); - $command .= join " -L", split /\s+/, opt(L); + $command .= " -I".$_ for split /\s+/, opt(I); + $command .= " -L".$_ for split /\s+/, opt(L); my @mods = split /-?u /, $stash; - $command .= ExtUtils::Embed::ldopts("-std", \@mods); + $command .= " ".ExtUtils::Embed::ldopts("-std", \@mods); vprint 3, "running cc $command"; system("cc $command"); } -- cgit v1.2.1