[ID 20001207.003] [PATCH] t/base/term.t causes abort if Config.pm not built
[p5sagit/p5-mst-13.2.git] / ext / POSIX / Makefile.PL
CommitLineData
42793c05 1use ExtUtils::MakeMaker;
514114c1 2use Config;
3my @libs;
4if ($^O ne 'MSWin32') {
5 if ($Config{archname} =~ /RM\d\d\d-svr4/) {
6 @libs = ('LIBS' => ["-lm -lc -lposix -lcposix"]);
7 }
8 else {
9 @libs = ('LIBS' => ["-lm -lposix -lcposix"]);
10 }
11}
4ad3186e 12WriteMakefile(
1adb159c 13 NAME => 'POSIX',
514114c1 14 @libs,
69158f75 15 MAN3PODS => {}, # Pods will be built by installman.
4ad3186e 16 XSPROTOARG => '-noprototypes', # XXX remove later?
c07a80fd 17 VERSION_FROM => 'POSIX.pm',
4ad3186e 18);