]> 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>
Wed, 12 Sep 2012 05:19:51 +0000 (15:19 +1000)
FT2/Makefile.PL

index 79e375f034416cfc685ec6964ac9a68bda8f8499..c0a43cca1c1632c162496a2c2b90b1b9eb9ff23b 100644 (file)
@@ -155,6 +155,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) {