Subject: | share dir support (once again) |
Hi,
could you please consider the enclosed patch that handles a situation when module's or distribution's share dir (see File::ShareDir) contains DLL files (or generally shared libraries).
Without this patch the DLL files placed into share dir are not extracted which causes troubles for example to Alien::SDL module.
Patch is against PAR-1.000
--
kmx
could you please consider the enclosed patch that handles a situation when module's or distribution's share dir (see File::ShareDir) contains DLL files (or generally shared libraries).
Without this patch the DLL files placed into share dir are not extracted which causes troubles for example to Alien::SDL module.
Patch is against PAR-1.000
--
kmx
Subject: | PAR.patch |
--- PAR.pm.orig Sat Apr 10 14:07:52 2010
+++ PAR.pm Wed May 12 02:07:00 2010
@@ -721,7 +721,7 @@
mkdir($inc) if not -d $inc;
for ( $zip->memberNames() ) {
- next if m{\.\Q$dlext\E[^/]*$};
+ next if (m{\.\Q$dlext\E[^/]*$} && !m{^lib/auto/share/(dist|module)/}); # keep all DLL placed in share dirs
s{^/}{};
my $outfile = File::Spec->catfile($inc, $_);
next if -e $outfile and not -w _;