From 6e79401ab5c8668eea7d1056640bab0bfe9659f8 Mon Sep 17 00:00:00 2001 From: crazywhalecc Date: Mon, 13 Oct 2025 00:21:13 +0800 Subject: [PATCH] Add missing libs for suggested option defined --- src/SPC/builder/unix/library/postgresql.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SPC/builder/unix/library/postgresql.php b/src/SPC/builder/unix/library/postgresql.php index dfb99006..f7781be0 100644 --- a/src/SPC/builder/unix/library/postgresql.php +++ b/src/SPC/builder/unix/library/postgresql.php @@ -45,7 +45,7 @@ trait postgresql { $libs = array_map(fn ($x) => $x->getName(), $this->getDependencies()); $spc = new SPCConfigUtil($this->getBuilder(), ['no_php' => true, 'libs_only_deps' => true]); - $config = $spc->config(libraries: $libs); + $config = $spc->config(libraries: $libs, include_suggest_lib: $this->builder->getOption('with-suggested-libs')); $macos_15_bug_cflags = PHP_OS_FAMILY === 'Darwin' ? ' -Wno-unguarded-availability-new' : '';