summaryrefslogtreecommitdiff
path: root/ext/POSIX
diff options
context:
space:
mode:
authorH.Merijn Brand <h.m.brand@xs4all.nl>2001-05-29 14:32:57 +0200
committerJarkko Hietaniemi <jhi@iki.fi>2001-05-29 15:59:05 +0000
commit180a9ea52e8ec647209128f107d8470cc53d55b1 (patch)
tree05250c3f32c61987c25eb539fb089760da454b81 /ext/POSIX
parentb82fa0b7d935f849862767dba3af1b4426db3ec3 (diff)
downloadperl-180a9ea52e8ec647209128f107d8470cc53d55b1.tar.gz
Re: AIX and gcc (moving targets)
Message-Id: <20010529115151.9FE0.H.M.BRAND@hccnet.nl> p4raw-id: //depot/perl@10295
Diffstat (limited to 'ext/POSIX')
-rw-r--r--ext/POSIX/Makefile.PL4
1 files changed, 3 insertions, 1 deletions
diff --git a/ext/POSIX/Makefile.PL b/ext/POSIX/Makefile.PL
index 73bb02dddb..081f934833 100644
--- a/ext/POSIX/Makefile.PL
+++ b/ext/POSIX/Makefile.PL
@@ -2,7 +2,9 @@ use ExtUtils::MakeMaker;
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',