diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 2000-03-22 16:29:37 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 2000-03-22 16:29:37 +0000 |
commit | 514114c10e96cbf0be8c89b8bb59a99001534fec (patch) | |
tree | c3ed0f8be4740d13afb5746e7e2d732edeef8453 /ext | |
parent | 3a1f2dc96a3b866c46ab6f878057fc73d4b009d4 (diff) | |
download | perl-514114c10e96cbf0be8c89b8bb59a99001534fec.tar.gz |
RM600-svr4 tweaks (from Frank Ridderbusch
<frank.ridderbusch@pdb.siemens.de>)
p4raw-id: //depot/perl@5878
Diffstat (limited to 'ext')
-rw-r--r-- | ext/POSIX/Makefile.PL | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/ext/POSIX/Makefile.PL b/ext/POSIX/Makefile.PL index 15256cf198..55c5c1fbf3 100644 --- a/ext/POSIX/Makefile.PL +++ b/ext/POSIX/Makefile.PL @@ -1,7 +1,17 @@ use ExtUtils::MakeMaker; +use Config; +my @libs; +if ($^O ne 'MSWin32') { + if ($Config{archname} =~ /RM\d\d\d-svr4/) { + @libs = ('LIBS' => ["-lm -lc -lposix -lcposix"]); + } + else { + @libs = ('LIBS' => ["-lm -lposix -lcposix"]); + } +} WriteMakefile( NAME => 'POSIX', - ($^O eq 'MSWin32' ? () : (LIBS => ["-lm -lposix -lcposix"])), + @libs, MAN3PODS => {}, # Pods will be built by installman. XSPROTOARG => '-noprototypes', # XXX remove later? VERSION_FROM => 'POSIX.pm', |