Skip to content

Commit

Permalink
Fix detection of the Compress::Raw::Zlib module
Browse files Browse the repository at this point in the history
  • Loading branch information
mlschroe committed Dec 3, 2024
1 parent cd2dd61 commit 1ed029f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Build/Apk.pm
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ use Digest::SHA;
eval { require Archive::Tar };
*Archive::Tar::new = sub {die("Archive::Tar is not available\n")} unless defined &Archive::Tar::new;
eval { require Compress::Raw::Zlib };
*Compress::Raw::Zlib::Inflate = sub {die("MIME::Base64 is not available\n")} unless defined &Compress::Raw::Zlib::Inflate;
*Compress::Raw::Zlib::Inflate::new = sub {die("Compress::Raw::Zlib is not available\n")} unless defined &Compress::Raw::Zlib::Inflate::new;

eval { require MIME::Base64 };
*MIME::Base64::encode_base64 = sub {die("MIME::Base64 is not available\n")} unless defined &MIME::Base64::encode_base64;
Expand Down

0 comments on commit 1ed029f

Please sign in to comment.