fix postgresql libraries when --with-suggested-libs is false

This commit is contained in:
henderkes
2025-10-29 18:55:26 +01:00
parent 5476385553
commit b88a68dab8
4 changed files with 23 additions and 5 deletions

View File

@@ -46,7 +46,7 @@ trait postgresql
protected function build(): void
{
$libs = array_map(fn ($x) => $x->getName(), $this->getDependencies());
$spc = new SPCConfigUtil($this->getBuilder(), ['no_php' => true, 'libs_only_deps' => true]);
$spc = new SPCConfigUtil($this->builder, ['no_php' => true, 'libs_only_deps' => true]);
$config = $spc->config(libraries: $libs, include_suggest_lib: $this->builder->getOption('with-suggested-libs'));
$env_vars = [