Fix pkg-config doctor fix using source bug

This commit is contained in:
crazywhalecc
2025-12-08 10:58:44 +08:00
committed by Jerry Ma
parent 88b86d3eaf
commit 6775cb4674

View File

@@ -45,7 +45,7 @@ class PkgConfigCheck
public function fix(): bool public function fix(): bool
{ {
ApplicationContext::set('elephant', true); ApplicationContext::set('elephant', true);
$installer = new PackageInstaller(['dl-prefer-binary' => true]); $installer = new PackageInstaller(['dl-binary-only' => true]);
$installer->addInstallPackage('pkg-config'); $installer->addInstallPackage('pkg-config');
$installer->run(false, true); $installer->run(false, true);
return true; return true;