Patches to build with EGCS-1.0.2 Mingw32 port.
[p5sagit/p5-mst-13.2.git] / ext / POSIX / Makefile.PL
index 68bce13..bc1dda9 100644 (file)
@@ -1,6 +1,7 @@
 use ExtUtils::MakeMaker;
 WriteMakefile(
-    LIBS => ["-lm -lposix -lcposix"],
+    NAME       => 'POSIX',
+    ($^O eq 'MSWin32' ? () : (LIBS     => ["-lm -lposix -lcposix"])),
     MAN3PODS   => ' ',         # Pods will be built by installman.
     XSPROTOARG => '-noprototypes',             # XXX remove later?
     VERSION_FROM => 'POSIX.pm',