We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1edf14e commit 5d5a50aCopy full SHA for 5d5a50a
src/SPC/builder/LibraryBase.php
@@ -381,7 +381,10 @@ protected function isLibraryInstalled(): bool
381
return false;
382
}
383
384
- return true; // allow using system dependencies if pkg_config_path is explicitly defined
+ // allow using system dependencies if pkg_config_path is explicitly defined
385
+ if (count($search_paths) > 1) {
386
+ return true;
387
+ }
388
389
foreach (Config::getLib(static::NAME, 'static-libs', []) as $name) {
390
if (!file_exists(BUILD_LIB_PATH . "/{$name}")) {
0 commit comments