From: Jarkko Hietaniemi Date: Wed, 30 May 2001 12:18:20 +0000 (+0000) Subject: Retract #10295 and #10296: a more generic solution X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=2834bd71cd7c1093bcae9a6fb922b3f81f45c5b3;p=p5sagit%2Fp5-mst-13.2.git Retract #10295 and #10296: a more generic solution is needed (there's something funny with gcc on AIX). p4raw-id: //depot/perl@10311 --- diff --git a/ext/POSIX/Makefile.PL b/ext/POSIX/Makefile.PL index 081f934..73bb02d 100644 --- a/ext/POSIX/Makefile.PL +++ b/ext/POSIX/Makefile.PL @@ -2,9 +2,7 @@ use ExtUtils::MakeMaker; 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', diff --git a/ext/Storable/Makefile.PL b/ext/Storable/Makefile.PL index 49270b3..c8151f3 100644 --- a/ext/Storable/Makefile.PL +++ b/ext/Storable/Makefile.PL @@ -16,14 +16,10 @@ 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' }, );