]> git.imager.perl.org - imager.git/commitdiff
allow freetype-config to be found on cygwin
authorTony Cook <tony@develop-help.com>
Wed, 12 Sep 2012 05:19:51 +0000 (15:19 +1000)
committerTony Cook <tony@develop-help.com>
Sat, 29 Sep 2012 00:23:16 +0000 (10:23 +1000)
FT2/Makefile.PL

index 076e5a32656e06468749f3ab0883fdf9aa46b6c9..abcb3470bda018b4c0c9caf2731471bc048fe256 100644 (file)
@@ -154,6 +154,9 @@ sub is_exe {
   if ($^O eq 'MSWin32') {
     push @exe_suffix, qw/.bat .cmd/;
   }
+  elsif ($^O eq 'cygwin') {
+    push @exe_suffix, "";
+  }
 
   for my $dir (File::Spec->path) {
     for my $suffix (@exe_suffix) {