1 package Module::Build::Platform::cygwin;
6 $VERSION = eval $VERSION;
7 use Module::Build::Platform::Unix;
10 @ISA = qw(Module::Build::Platform::Unix);
12 sub manpage_separator {
16 # Copied from ExtUtils::MM_Cygwin::maybe_command()
17 # If our path begins with F</cygdrive/> then we use C<ExtUtils::MM_Win32>
18 # to determine if it may be a command. Otherwise we use the tests
19 # from C<ExtUtils::MM_Unix>.
22 my ($self, $file) = @_;
24 if ($file =~ m{^/cygdrive/}i) {
25 require Module::Build::Platform::Win32;
26 return Module::Build::Platform::Win32->_maybe_command($file);
29 return $self->SUPER::_maybe_command($file);
38 Module::Build::Platform::cygwin - Builder class for Cygwin platform
42 This module provides some routines very specific to the cygwin
45 Please see the L<Module::Build> for the general docs.
49 Initial stub by Yitzchak Scott-Thoennes <sthoenna@efn.org>
53 perl(1), Module::Build(3), ExtUtils::MakeMaker(3)