diff options
Diffstat (limited to 'Configurations/platform/Cygwin.pm')
-rw-r--r-- | Configurations/platform/Cygwin.pm | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/Configurations/platform/Cygwin.pm b/Configurations/platform/Cygwin.pm new file mode 100644 index 0000000000..bc62e9db40 --- /dev/null +++ b/Configurations/platform/Cygwin.pm @@ -0,0 +1,22 @@ +package platform::Cygwin; + +use strict; +use warnings; +use Carp; + +use vars qw(@ISA); + +require platform::mingw; +@ISA = qw(platform::mingw); + +# Assume someone set @INC right before loading this module +use configdata; + +sub sharedname { + my $class = shift; + my $lib = platform::mingw->sharedname(@_); + $lib =~ s|^lib|cyg| if defined $lib; + return $lib; +} + +1; |