20 lines
452 B
Perl
20 lines
452 B
Perl
# $FreeBSD$
|
|
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',
|
|
@libs,
|
|
MAN3PODS => {}, # Pods will be built by installman.
|
|
XSPROTOARG => '-noprototypes', # XXX remove later?
|
|
VERSION_FROM => 'POSIX.pm',
|
|
);
|