mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-17 20:34:51 +08:00
postgresql doesn't build under c23
This commit is contained in:
parent
d1b194999d
commit
fff2484529
@ -50,7 +50,7 @@ trait postgresql
|
|||||||
$config = $spc->config(libraries: $libs, include_suggest_lib: $this->builder->getOption('with-suggested-libs', false));
|
$config = $spc->config(libraries: $libs, include_suggest_lib: $this->builder->getOption('with-suggested-libs', false));
|
||||||
|
|
||||||
$env_vars = [
|
$env_vars = [
|
||||||
'CFLAGS' => $config['cflags'],
|
'CFLAGS' => $config['cflags'] . ' -std=c17',
|
||||||
'CPPFLAGS' => '-DPIC',
|
'CPPFLAGS' => '-DPIC',
|
||||||
'LDFLAGS' => $config['ldflags'],
|
'LDFLAGS' => $config['ldflags'],
|
||||||
'LIBS' => $config['libs'],
|
'LIBS' => $config['libs'],
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user