/
usr
/
share
/
perl5
/
ExtUtils
/
CBuilder
/
Platform
/
/usr/share/perl5/ExtUtils/CBuilder/Platform
mkdir
upload
Name
Size
Mode
Actions
Windows/
-
0755
rm
aix.pm
617
0644
edit
dl
rm
cygwin.pm
924
0644
edit
dl
rm
darwin.pm
512
0644
edit
dl
rm
dec_osf.pm
420
0644
edit
dl
rm
os2.pm
2735
0644
edit
dl
rm
Unix.pm
1044
0644
edit
dl
rm
VMS.pm
10548
0644
edit
dl
rm
Windows.pm
8888
0644
edit
dl
rm
Edit:
/usr/share/perl5/ExtUtils/CBuilder/Platform/cygwin.pm
(924B)
package ExtUtils::CBuilder::Platform::cygwin; use strict; use File::Spec; use ExtUtils::CBuilder::Platform::Unix; use vars qw($VERSION @ISA); $VERSION = '0.27'; @ISA = qw(ExtUtils::CBuilder::Platform::Unix); # TODO: If a specific exe_file name is requested, if the exe created # doesn't have that name, we might want to rename it. Apparently asking # for an exe of "foo" might result in "foo.exe". Alternatively, we should # make sure the return value is correctly "foo.exe". # C.f http://rt.cpan.org/Public/Bug/Display.html?id=41003 sub link_executable { my $self = shift; return $self->SUPER::link_executable(@_); } sub link { my ($self, %args) = @_; my $lib = $self->{config}{useshrplib} ? 'libperl.dll.a' : 'libperl.a'; $args{extra_linker_flags} = [ File::Spec->catfile($self->perl_inc(), $lib), $self->split_like_shell($args{extra_linker_flags}) ]; return $self->SUPER::link(%args); } 1;
Save
cmd:
run