| 1 | package ExtUtils::Builder::Linker::Unixy; | ||
| 2 | 3 | $ExtUtils::Builder::Linker::Unixy::VERSION = '0.038'; | |
| 3 | 3 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 3 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | |||
| 6 | 3 | ▶ | use parent 'ExtUtils::Builder::Linker'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | |||
| 8 | 5 | ▶ | sub linker_flags { |
|
Subroutine
linker_flags: called CC=1 SCAR=0.1
Pod
undocumented
| |||
| 9 | 5 | my ($self, $from, $to, %opts) = @_; | |
| 10 | 5 | my @ret; | |
| 11 | 0 | push @ret, map { $self->new_argument(ranking => $_->{ranking}, value => [ "-L$_->{value}" ]) } @{ $self->{library_dirs} }; | |
| 12 | 0 | push @ret, map { $self->new_argument(ranking => $_->{ranking}, value => [ "-l$_->{value}" ]) } @{ $self->{libraries} }; | |
| 13 | 5 | push @ret, $self->new_argument(ranking => 50, value => [ '-o' => $to, @{$from} ]); | |
| 14 | 5 | return @ret; | |
| 15 | } | ||
| 16 | |||
| 17 | 3 | 1; | |
| 18 | |||