aboutsummaryrefslogtreecommitdiffstats
path: root/Packdrakeng.pm
diff options
context:
space:
mode:
Diffstat (limited to 'Packdrakeng.pm')
-rw-r--r--Packdrakeng.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/Packdrakeng.pm b/Packdrakeng.pm
index f860557..5fa03cf 100644
--- a/Packdrakeng.pm
+++ b/Packdrakeng.pm
@@ -139,6 +139,7 @@ sub choose_compression_method {
$pack->{compress_method} ||= "gzip";
if (!$pack->{force_extern}) {
eval {
+ require Compress::Zlib; #- need this to ensure that Packdrakeng::zlib will load properly
require Packdrakeng::zlib;
$pack->{subcompress} = \&Packdrakeng::zlib::gzip_compress;
$pack->{subuncompress} = \&Packdrakeng::zlib::gzip_uncompress;