Commit | Line | Data |
42793c05 |
1 | use ExtUtils::MakeMaker; |
514114c1 |
2 | use Config; |
3 | my @libs; |
4 | if ($^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 |
12 | WriteMakefile( |
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 | ); |