mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-08 09:25:35 +08:00
Fix pkg-config doctor fix using source bug
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user