From: H.Merijn Brand Date: Tue, 29 May 2001 17:59:40 +0000 (+0200) Subject: Re: AIX and gcc (moving targets) X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=ffc4a5af7ac7c7f46decfea748606a2d9298dd7e;p=p5sagit%2Fp5-mst-13.2.git Re: AIX and gcc (moving targets) Message-Id: <20010529175841.7078.H.M.BRAND@hccnet.nl> p4raw-id: //depot/perl@10296 --- diff --git a/ext/Storable/Makefile.PL b/ext/Storable/Makefile.PL index c8151f3..49270b3 100644 --- a/ext/Storable/Makefile.PL +++ b/ext/Storable/Makefile.PL @@ -16,10 +16,14 @@ use ExtUtils::MakeMaker; use Config; +my @libs = (); +$Config{gccversion} eq "" or @libs = ('LIBS' => ["-lgcc"]); + WriteMakefile( - 'NAME' => 'Storable', + 'NAME' => 'Storable', 'DISTNAME' => "Storable", - 'MAN3PODS' => {}, + @libs, + 'MAN3PODS' => {}, 'VERSION_FROM' => 'Storable.pm', 'dist' => { SUFFIX => 'gz', COMPRESS => 'gzip -f' }, );