-use 5.008_003;
+use 5.008_004;
use strict;
use warnings;
@Config{qw<bin sitebin>};
$macro{LDDLFLAGS} = "$lddlflags $libdirs $libperl";
$macro{LDFLAGS} = "$ldflags $libdirs $libperl";
- $macro{PERL_ARCHIVE} = '',
+ eval <<' MY_SECTION';
+ package MY;
+ sub dynamic_lib {
+ my $self = shift;
+ my $inherited = $self->SUPER::dynamic_lib(@_);
+ $inherited =~ s/"?\$\(PERL_ARCHIVE\)"?//g;
+ return $inherited;
+ }
+ MY_SECTION
+ die $@ if $@;
}
}
print $is_gcc_34 ? "yes\n" : "no\n";
# Threads, Windows and 5.8.x don't seem to be best friends
if ($^O eq 'MSWin32' && "$]" < 5.009) {
- push @DEFINES, '-DLT_MULTIPLICITY=0';
+ push @DEFINES, '-DXSH_MULTIPLICITY=0';
}
# Fork emulation got "fixed" in 5.10.1
if ($^O eq 'MSWin32' && "$]" < 5.010_001) {
- push @DEFINES, '-DLT_FORKSAFE=0';
+ push @DEFINES, '-DXSH_FORKSAFE=0';
}
@DEFINES = (DEFINE => join ' ', @DEFINES) if @DEFINES;
@DEFINES,
BUILD_REQUIRES => \%BUILD_REQUIRES,
PREREQ_PM => \%PREREQ_PM,
- MIN_PERL_VERSION => '5.008003',
+ MIN_PERL_VERSION => '5.008004',
META_MERGE => \%META,
dist => {
PREOP => "pod2text -u $file > \$(DISTVNAME)/README",