summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorH.Merijn Brand <h.m.brand@xs4all.nl>2001-05-29 19:59:40 +0200
committerJarkko Hietaniemi <jhi@iki.fi>2001-05-29 16:01:53 +0000
commitffc4a5af7ac7c7f46decfea748606a2d9298dd7e (patch)
tree17f496c5bcdb497c9809aecb9b396bb0a5b8cf10 /ext
parent180a9ea52e8ec647209128f107d8470cc53d55b1 (diff)
downloadperl-ffc4a5af7ac7c7f46decfea748606a2d9298dd7e.tar.gz
Re: AIX and gcc (moving targets)
Message-Id: <20010529175841.7078.H.M.BRAND@hccnet.nl> p4raw-id: //depot/perl@10296
Diffstat (limited to 'ext')
-rw-r--r--ext/Storable/Makefile.PL8
1 files changed, 6 insertions, 2 deletions
diff --git a/ext/Storable/Makefile.PL b/ext/Storable/Makefile.PL
index c8151f3083..49270b32f1 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' },
);