Merge branch 'master' of http://repo.or.cz/r/msysgit into devel
[msysgit/historical-msysgit.git] / lib / perl5 / 5.6.1 / B / cc_harness
blob79f8727a8f02dca57126dea9510ba878b78d909c
1 use Config;
3 $libdir = $ENV{PERL_SRC} || "$Config{installarchlib}/CORE";
5 if (!grep(/^-[cS]$/, @ARGV)) {
6     $linkargs = sprintf("%s $libdir/$Config{libperl} %s",
7                         @Config{qw(ldflags libs)});
10 $cccmd = "$Config{cc} $Config{ccflags} -I$libdir @ARGV $linkargs";
11 print "$cccmd\n";
12 exec $cccmd;