blob: c035d75aafdaf463e768f6015acafe4a38b50838 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
# $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',
);
|