mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-17 20:34:51 +08:00
Update src/SPC/builder/LibraryBase.php
Co-authored-by: Jerry Ma <jesse2061@outlook.com>
This commit is contained in:
parent
1edf14e642
commit
5d5a50a33c
@ -381,7 +381,10 @@ abstract class LibraryBase
|
||||
return false;
|
||||
}
|
||||
}
|
||||
return true; // allow using system dependencies if pkg_config_path is explicitly defined
|
||||
// allow using system dependencies if pkg_config_path is explicitly defined
|
||||
if (count($search_paths) > 1) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
foreach (Config::getLib(static::NAME, 'static-libs', []) as $name) {
|
||||
if (!file_exists(BUILD_LIB_PATH . "/{$name}")) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user