[win32] support POSIX, enable more locale tests
[p5sagit/p5-mst-13.2.git] / ext / POSIX / Makefile.PL
index 3359d17..bc1dda9 100644 (file)
@@ -1,7 +1,7 @@
 use ExtUtils::MakeMaker;
 WriteMakefile(
     NAME       => 'POSIX',
-    LIBS       => ["-lm -lposix -lcposix"],
+    ($^O eq 'MSWin32' ? () : (LIBS     => ["-lm -lposix -lcposix"])),
     MAN3PODS   => ' ',         # Pods will be built by installman.
     XSPROTOARG => '-noprototypes',             # XXX remove later?
     VERSION_FROM => 'POSIX.pm',