freemint doesn't need the extra -lm -lposix either
authorAlan Hourihane <alanh@fairlite.co.uk>
Fri, 15 Nov 2013 00:37:52 +0000 (11:37 +1100)
committerTony Cook <tony@develop-help.com>
Thu, 16 Jan 2014 04:37:13 +0000 (15:37 +1100)
ext/POSIX/Makefile.PL

index e6e621c..77ebae7 100644 (file)
@@ -11,7 +11,7 @@ if ($Config{sig_name} =~ /\bRTMIN\b/ && $Config{sig_name} =~ /\bRTMAX\b/) {
 }
 
 my @libs;
-if ($^O ne 'MSWin32') {
+if ($^O ne 'MSWin32' && $^O ne 'freemint') {
     @libs = ('LIBS' => ["-lm -lposix -lcposix"]);
 }
 WriteMakefile(