New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[PATCH] dont install PPPort.so/PPPort.dll #15023
Comments
From @bulk88See attached patch. Summary of my perl5 (revision 5 version 23 subversion 5) configuration: d_longlong=undef, longlongsize=8, d_longdbl=define, longdblsize=8, longdblki perllibs=oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg3 Characteristics of this binary (from libperl): |
From @bulk880001-dont-install-PPPort.so-PPPort.dll.patchFrom dd5bf6e2f527192bd649a2656daa287b43192ccc Mon Sep 17 00:00:00 2001
From: Daniel Dragan <bulk88@hotmail.com>
Date: Sun, 25 Oct 2015 19:31:27 -0400
Subject: [PATCH] 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
---
installperl | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/installperl b/installperl
index 866bf5d..5ea37be 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$/;
--
1.9.5.msysgit.1
|
The RT System itself - Status changed from 'new' to 'open' |
@tonycoz - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#126534 (status was 'resolved')
Searchable as RT126534$
The text was updated successfully, but these errors were encountered: