when using a shared perl library. The files are not needed, and this
fixes a problem building PAR-Packer on Win32 with a debug build of
perl. (If Win32CORE.lib gets installed then PAR-Packer wants to link
against it and its PDB file, vc60.pdb, but the latter is not installed.)
Also skip installing a few other unnecessary files.
Subject: Re: Problem in Win32CORE when building PAR-Packer-0.975 with bleadperl on Win32
Message-ID: <
468E2566.8090504@uk.radan.com>
p4raw-id: //depot/perl@31570
return if $name =~ m{^(?:TODO|BUGS|CREDITS)$}i;
return if $name =~ m{^change(?:s|log)(?:\.libnet)?$}i;
+ # if using a shared perl library then ignore:
+ # - static library files [of statically linked extensions];
+ # - import library files and export library files (only present on Win32
+ # anyway?) and empty bootstrap files [of dynamically linked extensions].
+ return if $Config{useshrplib} eq 'true' and
+ ($name =~ /$Config{_a}$/ or $name =~ /\.exp$/ or ($name =~ /\.bs$/ and -z $name));
+
$name = "$dir/$name" if $dir ne '';
my $installlib = $installprivlib;