summaryrefslogtreecommitdiff
path: root/installperl
diff options
context:
space:
mode:
authorDaniel Dragan <bulk88@hotmail.com>2015-10-25 19:31:27 -0400
committerTony Cook <tony@develop-help.com>2015-11-02 15:49:04 +1100
commit581f1868f20d4bca2aae77b9aeb547e054f2a444 (patch)
tree499ca19658bc1463265884a118a070ffa78ae5f7 /installperl
parenta4570f51dba109184d92dcbb0612242d942856fc (diff)
downloadperl-581f1868f20d4bca2aae77b9aeb547e054f2a444.tar.gz
dont install PPPort.so/PPPort.dll
This shared lib is only used for PPPort testing itself, it is similar to APItest.dll in purpose. PPPort.pm never uses XSLoader/DynaLoader, only its .t files do. This saves 616KB in the final install dir on Win32, and atleast one or two dozen KB on all OSes. Since where is auto dir, and what is arch dir, is complicated and unportable (atleast to me), and what other files live next to the shared lib (examples, .pdb file, .bs file, .a file) match the directory fragment, not the files inside of it or the dirs full path. Directory of C:\p523\src\lib\auto\Devel\PPPort 10/25/2015 07:16 PM <DIR> . 10/25/2015 07:16 PM <DIR> .. 10/25/2015 07:16 PM 0 .exists 10/25/2015 07:16 PM 59,392 PPPort.dll 10/25/2015 07:16 PM 796 PPPort.exp 10/25/2015 07:16 PM 1,738 PPPort.lib 10/25/2015 07:16 PM 569,344 PPPort.pdb 5 File(s) 631,270 bytes
Diffstat (limited to 'installperl')
-rwxr-xr-xinstallperl4
1 files changed, 2 insertions, 2 deletions
diff --git a/installperl b/installperl
index 866bf5d989..5ea37be9a9 100755
--- a/installperl
+++ b/installperl
@@ -671,8 +671,8 @@ sub installlib {
return if $name =~ /^(?:cpan|instmodsh|prove|corelist|ptar|ptardiff|ptargrep|zipdetails)\z/;
# ignore the Makefiles
return if $name =~ /^makefile$/i;
- # ignore the test extensions
- return if $dir =~ m{\bXS/(?:APItest|Typemap)\b};
+ # ignore the test extensions, dont install PPPort.so/.dll
+ return if $dir =~ m{\b(?:XS/(?:APItest|Typemap)|Devel/PPPort)\b};
return if $name =~ m{\b(?:APItest|Typemap)\.pm$};
# ignore the build support code
return if $name =~ /\bbuildcustomize\.pl$/;