use Perl::OSType qw/os_type/;
use vars qw($VERSION @ISA);
-$VERSION = '0.280214';
+$VERSION = '0.280215';
$VERSION = eval $VERSION;
# We only use this once - don't waste a symbol table entry on it.
use File::Temp qw(tempfile);
use vars qw($VERSION);
-$VERSION = '0.280214';
+$VERSION = '0.280215';
# More details about C/C++ compilers:
# http://developers.sun.com/sunstudio/documentation/product/compiler.jsp
use ExtUtils::CBuilder::Base;
use vars qw($VERSION @ISA);
-$VERSION = '0.280214';
+$VERSION = '0.280215';
@ISA = qw(ExtUtils::CBuilder::Base);
sub link_executable {
use ExtUtils::CBuilder::Base;
use vars qw($VERSION @ISA);
-$VERSION = '0.280214';
+$VERSION = '0.280215';
@ISA = qw(ExtUtils::CBuilder::Base);
use File::Spec::Functions qw(catfile catdir);
use IO::File;
use vars qw($VERSION @ISA);
-$VERSION = '0.280214';
+$VERSION = '0.280215';
@ISA = qw(ExtUtils::CBuilder::Base);
=begin comment
package ExtUtils::CBuilder::Platform::Windows::BCC;
use vars qw($VERSION);
-$VERSION = '0.280214';
+$VERSION = '0.280215';
sub format_compiler_cmd {
my ($self, %spec) = @_;
package ExtUtils::CBuilder::Platform::Windows::GCC;
use vars qw($VERSION);
-$VERSION = '0.280214';
+$VERSION = '0.280215';
sub format_compiler_cmd {
my ($self, %spec) = @_;
package ExtUtils::CBuilder::Platform::Windows::MSVC;
use vars qw($VERSION);
-$VERSION = '0.280214';
+$VERSION = '0.280215';
sub arg_exec_file {
my ($self, $file) = @_;
use File::Spec;
use vars qw($VERSION @ISA);
-$VERSION = '0.280214';
+$VERSION = '0.280215';
@ISA = qw(ExtUtils::CBuilder::Platform::Unix);
sub need_prelink { 1 }
use ExtUtils::CBuilder::Platform::Unix;
use vars qw($VERSION @ISA);
-$VERSION = '0.280214';
+$VERSION = '0.280215';
@ISA = qw(ExtUtils::CBuilder::Platform::Unix);
# The Android linker will not recognize symbols from
];
}
- return $self->SUPER::link(%args);
+ # Several modules on CPAN rather rightfully expect being
+ # able to pass $so_file to DynaLoader::dl_load_file and
+ # have it Just Work. However, $so_file will more likely
+ # than not be a relative path, and unless the module
+ # author subclasses MakeMaker/Module::Build to modify
+ # LD_LIBRARY_PATH, which would be insane, Android's linker
+ # won't find the .so
+ # So we make this all work by returning an absolute path.
+ my($so_file, @so_tmps) = $self->SUPER::link(%args);
+ $so_file = File::Spec->rel2abs($so_file);
+ return ($so_file, @so_tmps);
}
1;
use ExtUtils::CBuilder::Platform::Unix;
use vars qw($VERSION @ISA);
-$VERSION = '0.280214';
+$VERSION = '0.280215';
@ISA = qw(ExtUtils::CBuilder::Platform::Unix);
# TODO: If a specific exe_file name is requested, if the exe created
use ExtUtils::CBuilder::Platform::Unix;
use vars qw($VERSION @ISA);
-$VERSION = '0.280214';
+$VERSION = '0.280215';
@ISA = qw(ExtUtils::CBuilder::Platform::Unix);
sub compile {
use vars qw($VERSION @ISA);
@ISA = qw(ExtUtils::CBuilder::Platform::Unix);
-$VERSION = '0.280214';
+$VERSION = '0.280215';
sub link_executable {
my $self = shift;
use ExtUtils::CBuilder::Platform::Unix;
use vars qw($VERSION @ISA);
-$VERSION = '0.280214';
+$VERSION = '0.280215';
@ISA = qw(ExtUtils::CBuilder::Platform::Unix);
sub need_prelink { 1 }