diff options
author | H.Merijn Brand <h.m.brand@xs4all.nl> | 2008-10-29 08:31:39 +0000 |
---|---|---|
committer | H.Merijn Brand <h.m.brand@xs4all.nl> | 2008-10-29 08:31:39 +0000 |
commit | 1c1947d58db6c2d0a3348529d164647257203ecd (patch) | |
tree | 87e5fb6fec374002f0cba6519bbbcb0acfda7cd4 | |
parent | 4b0b5bad69429e6eb26e3f1181e59a1445822df3 (diff) | |
download | perl-1c1947d58db6c2d0a3348529d164647257203ecd.tar.gz |
One more for Haiku
p4raw-id: //depot/perl@34634
-rw-r--r-- | lib/ExtUtils/MM_Haiku.pm | 63 |
1 files changed, 63 insertions, 0 deletions
diff --git a/lib/ExtUtils/MM_Haiku.pm b/lib/ExtUtils/MM_Haiku.pm new file mode 100644 index 0000000000..08835fa6d3 --- /dev/null +++ b/lib/ExtUtils/MM_Haiku.pm @@ -0,0 +1,63 @@ + +package ExtUtils::MM_Haiku; + +use strict; + +=head1 NAME + +ExtUtils::MM_Haiku - methods to override UN*X behaviour in ExtUtils::MakeMaker + +=head1 SYNOPSIS + + use ExtUtils::MM_Haiku; # Done internally by ExtUtils::MakeMaker if needed + +=head1 DESCRIPTION + +See ExtUtils::MM_Unix for a documentation of the methods provided +there. This package overrides the implementation of these methods, not +the semantics. + +=over 4 + +=cut + +use ExtUtils::MakeMaker::Config; +use File::Spec; +require ExtUtils::MM_Any; +require ExtUtils::MM_Unix; + +use vars qw(@ISA $VERSION); +@ISA = qw( ExtUtils::MM_Any ExtUtils::MM_Unix ); +$VERSION = '6.42'; + + +=item os_flavor + +Haiku is Haiku. + +=cut + +sub os_flavor { + return('Haiku'); +} + +=item init_linker + +libperl.a equivalent to be linked to dynamic extensions. + +=cut + +sub init_linker { + my($self) = shift; + + $self->{PERL_ARCHIVE} ||= + File::Spec->catdir('$(PERL_INC)',$Config{libperl}); + $self->{PERL_ARCHIVE_AFTER} ||= ''; + $self->{EXPORT_LIST} ||= ''; +} + +=back + +1; +__END__ + |