add auto-detect icu support for postgresql

This commit is contained in:
crazywhalecc 2023-07-23 22:56:04 +08:00
parent 3745dfc931
commit 65b0bd01c8
No known key found for this signature in database
GPG Key ID: 1F4BDD59391F2680
2 changed files with 4 additions and 1 deletions

View File

@ -391,6 +391,9 @@
"openssl",
"zlib",
"readline"
],
"lib-suggests": [
"icu"
]
},
"pthreads4w": {

View File

@ -57,7 +57,7 @@ trait postgresql
'--with-ssl=openssl ' .
'--with-readline ' .
'--with-libxml ' .
'--without-icu ' .
($this->builder->getLib('icu') ? '--with-icu ' : '--without-icu ') .
'--without-ldap ' .
'--without-libxslt ' .
'--without-lz4 ' .