081f93483324192cfcc1fc3b79f563b03876ae24
[p5sagit/p5-mst-13.2.git] / ext / POSIX / Makefile.PL
1 use ExtUtils::MakeMaker;
2 use Config;
3 my @libs;
4 if ($^O ne 'MSWin32') {
5     my $libs = "-lm -lposix -lcposix";
6     $Config{gccversion} ne "" and $libs .= " -lgcc";
7     @libs = ('LIBS' => [ $libs ]);
8 }
9 WriteMakefile(
10     NAME        => 'POSIX',
11     @libs,
12     MAN3PODS    => {},  # Pods will be built by installman.
13     XSPROTOARG => '-noprototypes',              # XXX remove later?
14     VERSION_FROM => 'POSIX.pm', 
15 );