is needed (there's something funny with gcc on AIX).
p4raw-id: //depot/perl@10311
use Config;
my @libs;
if ($^O ne 'MSWin32') {
- my $libs = "-lm -lposix -lcposix";
- $Config{gccversion} ne "" and $libs .= " -lgcc";
- @libs = ('LIBS' => [ $libs ]);
+ @libs = ('LIBS' => ["-lm -lposix -lcposix"]);
}
WriteMakefile(
NAME => 'POSIX',
use ExtUtils::MakeMaker;
use Config;
-my @libs = ();
-$Config{gccversion} eq "" or @libs = ('LIBS' => ["-lgcc"]);
-
WriteMakefile(
- 'NAME' => 'Storable',
+ 'NAME' => 'Storable',
'DISTNAME' => "Storable",
- @libs,
- 'MAN3PODS' => {},
+ 'MAN3PODS' => {},
'VERSION_FROM' => 'Storable.pm',
'dist' => { SUFFIX => 'gz', COMPRESS => 'gzip -f' },
);