fix perl installation by checking for FindBin

This commit is contained in:
DubbleClick 2025-08-27 13:03:57 +07:00
parent 25401e5959
commit 95f1b65bca

View File

@ -40,7 +40,7 @@ class LinuxToolCheckList
'tar', 'unzip', 'gzip', 'gcc', 'tar', 'unzip', 'gzip', 'gcc',
'bzip2', 'cmake', 'patch', 'which', 'bzip2', 'cmake', 'patch', 'which',
'xz', 'libtool', 'gettext-devel', 'xz', 'libtool', 'gettext-devel',
'perl', 'patchelf', 'patchelf',
]; ];
public const TOOLS_ARCH = [ public const TOOLS_ARCH = [
@ -48,6 +48,7 @@ class LinuxToolCheckList
]; ];
private const PROVIDED_COMMAND = [ private const PROVIDED_COMMAND = [
'perl' => '/usr/share/perl5/FindBin.pm',
'binutils-gold' => 'ld.gold', 'binutils-gold' => 'ld.gold',
'base-devel' => 'automake', 'base-devel' => 'automake',
'gettext-devel' => 'gettextize', 'gettext-devel' => 'gettextize',