mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-18 04:44:53 +08:00
Add missing libs for suggested option defined
This commit is contained in:
parent
903036f1c0
commit
6e79401ab5
@ -45,7 +45,7 @@ trait postgresql
|
|||||||
{
|
{
|
||||||
$libs = array_map(fn ($x) => $x->getName(), $this->getDependencies());
|
$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->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' : '';
|
$macos_15_bug_cflags = PHP_OS_FAMILY === 'Darwin' ? ' -Wno-unguarded-availability-new' : '';
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user