summaryrefslogtreecommitdiff
path: root/ext/POSIX/Makefile.PL
blob: 55c5c1fbf3f6012cf595fbcb26c0eab19586efc3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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', 
);