添加pgsql 配置

This commit is contained in:
jingjingxyk 2023-06-30 20:53:18 +08:00
parent dac14ae16e
commit b7ffe3fd1f
3 changed files with 23 additions and 4 deletions

View File

@ -211,12 +211,19 @@
}, },
"pdo_pgsql": { "pdo_pgsql": {
"type": "builtin", "type": "builtin",
"arg-type": "with", "arg-type": "with-prefix",
"ext-depends": [ "ext-depends": [
"pdo" "pdo"
], ],
"lib-depends": [ "lib-depends": [
"pq" "postgresql"
]
},
"pgsql": {
"type": "builtin",
"arg-type": "with-prefix",
"lib-depends": [
"postgresql"
] ]
}, },
"pdo_sqlite": { "pdo_sqlite": {

View File

@ -381,7 +381,18 @@
"postgresql": { "postgresql": {
"source": "postgresql", "source": "postgresql",
"static-libs-unix": [ "static-libs-unix": [
"libpg.a" "libpq.a",
"libpgport.a",
"libpgcommon.a"
],
"lib-depends": [
"libiconv",
"libxml2",
"zstd",
"openssl",
"zlib",
"readline",
"icu"
] ]
}, },
"pthreads4w": { "pthreads4w": {

View File

@ -319,7 +319,8 @@
} }
}, },
"postgresql": { "postgresql": {
"type": "custom", "type": "url",
"url": "https://ftp.postgresql.org/pub/source/v15.1/postgresql-15.1.tar.gz",
"license": { "license": {
"type": "file", "type": "file",
"path": "COPYRIGHT" "path": "COPYRIGHT"