Message-Id: <
20010529115151.9FE0.H.M.BRAND@hccnet.nl>
p4raw-id: //depot/perl@10295
use Config;
my @libs;
if ($^O ne 'MSWin32') {
- @libs = ('LIBS' => ["-lm -lposix -lcposix"]);
+ my $libs = "-lm -lposix -lcposix";
+ $Config{gccversion} ne "" and $libs .= " -lgcc";
+ @libs = ('LIBS' => [ $libs ]);
}
WriteMakefile(
NAME => 'POSIX',