This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Silence new warning grep in void context warning in various modules and test files...
[perl5.git] / lib / ExtUtils / MM_BeOS.pm
1 package ExtUtils::MM_BeOS;
2
3 use strict;
4
5 =head1 NAME
6
7 ExtUtils::MM_BeOS - methods to override UN*X behaviour in ExtUtils::MakeMaker
8
9 =head1 SYNOPSIS
10
11  use ExtUtils::MM_BeOS; # Done internally by ExtUtils::MakeMaker if needed
12
13 =head1 DESCRIPTION
14
15 See ExtUtils::MM_Unix for a documentation of the methods provided
16 there. This package overrides the implementation of these methods, not
17 the semantics.
18
19 =over 4
20
21 =cut
22
23 use ExtUtils::MakeMaker::Config;
24 use File::Spec;
25 require ExtUtils::MM_Any;
26 require ExtUtils::MM_Unix;
27
28 use vars qw(@ISA $VERSION);
29 @ISA = qw( ExtUtils::MM_Any ExtUtils::MM_Unix );
30 $VERSION = '6.42';
31
32
33 =item os_flavor
34
35 BeOS is BeOS.
36
37 =cut
38
39 sub os_flavor {
40     return('BeOS');
41 }
42
43 =item init_linker
44
45 libperl.a equivalent to be linked to dynamic extensions.
46
47 =cut
48
49 sub init_linker {
50     my($self) = shift;
51
52     $self->{PERL_ARCHIVE} ||= 
53       File::Spec->catdir('$(PERL_INC)',$Config{libperl});
54     $self->{PERL_ARCHIVE_AFTER} ||= '';
55     $self->{EXPORT_LIST}  ||= '';
56 }
57
58 =back
59
60 1;
61 __END__
62