X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;f=Makefile.PL;h=1e126e8d6be53f49abda979c671faec0d829a8a1;hb=26192e1043cbd952cc7acaa033cc473ffd074085;hp=c8440d1f223d1b95d74c9a5e97c525a09d409167;hpb=c8223c2b729cdac4d9b77f634ed31613ce5620bf;p=perl%2Fmodules%2FLexical-Types.git diff --git a/Makefile.PL b/Makefile.PL index c8440d1..1e126e8 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -8,7 +8,7 @@ BEGIN { local $@; eval { require Config }; die 'OS unsupported' if $@; - Config->import(qw/%Config/); + Config->import(qw<%Config>); } my @DEFINES; @@ -17,15 +17,15 @@ my %macro; my $is_gcc_34 = 0; print "Checking if this is gcc 3.4 on Windows trying to link against an import library... "; if ($^O eq 'MSWin32' and not grep /^LD[A-Z]*=/, @ARGV) { - my ($libperl, $gccversion) = map $_ || '', @Config{qw/libperl gccversion/}; + my ($libperl, $gccversion) = map $_ || '', @Config{qw}; if ($gccversion =~ /^3\.4\.[0-9]+/ and $libperl =~ s/\.lib$//) { $is_gcc_34 = 1; - my ($lddlflags, $ldflags) = @Config{qw/lddlflags ldflags/}; + my ($lddlflags, $ldflags) = @Config{qw}; $_ ||= '', s/-L(?:".*?"|\S+)//g for $lddlflags, $ldflags; $libperl = "-l$libperl"; my $libdirs = join ' ', map { s/(?}; $macro{LDDLFLAGS} = "$lddlflags $libdirs $libperl"; $macro{LDFLAGS} = "$ldflags $libdirs $libperl"; $macro{PERL_ARCHIVE} = '',