@@ -80,7 +80,7 @@ public static function buildToolsFactory(): self
8080 ],
8181 ),
8282 new BinaryBuildToolFinder (
83- 'libtoolize ' ,
83+ [ 'libtoolize ' , ' glibtoolize ' ] ,
8484 [
8585 PackageManager::Apt->value => 'libtool ' ,
8686 PackageManager::Apk->value => 'libtool ' ,
@@ -118,12 +118,12 @@ public function check(IOInterface $io, PackageManager|null $packageManager, Targ
118118
119119 foreach ($ this ->buildTools as $ buildTool ) {
120120 if ($ buildTool ->check () !== false ) {
121- $ io ->write ('Build tool ' . $ buildTool ->tool . ' is installed. ' , verbosity: IOInterface::VERY_VERBOSE );
121+ $ io ->write ('Build tool ' . $ buildTool ->toolNames () . ' is installed. ' , verbosity: IOInterface::VERY_VERBOSE );
122122 continue ;
123123 }
124124
125125 $ allFound = false ;
126- $ missingTools [] = $ buildTool ->tool ;
126+ $ missingTools [] = $ buildTool ->toolNames () ;
127127
128128 if ($ packageManager === null ) {
129129 continue ;
@@ -132,7 +132,7 @@ public function check(IOInterface $io, PackageManager|null $packageManager, Targ
132132 $ packageName = $ buildTool ->packageNameFor ($ packageManager , $ targetPlatform );
133133
134134 if ($ packageName === null ) {
135- $ io ->writeError ('<warning>Could not find package name for build tool ' . $ buildTool ->tool . '.</warning> ' , verbosity: IOInterface::VERBOSE );
135+ $ io ->writeError ('<warning>Could not find package name for build tool ' . $ buildTool ->toolNames () . '.</warning> ' , verbosity: IOInterface::VERBOSE );
136136 continue ;
137137 }
138138
0 commit comments