[libpq] Fix ios build (#26906)

This commit is contained in:
Matthias Kuhn 2022-09-26 23:50:08 +02:00 committed by GitHub
parent 143bc76cc7
commit 6ca56aeb45
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 11 additions and 3 deletions

View File

@ -287,8 +287,10 @@ else()
if(VCPKG_TARGET_IS_ANDROID) # AND CMAKE_SYSTEM_VERSION LESS 26) if(VCPKG_TARGET_IS_ANDROID) # AND CMAKE_SYSTEM_VERSION LESS 26)
list(APPEND BUILD_OPTS ac_cv_header_langinfo_h=no) list(APPEND BUILD_OPTS ac_cv_header_langinfo_h=no)
endif() endif()
if(VCPKG_OSX_SYSROOT) vcpkg_cmake_get_vars(cmake_vars_file)
list(APPEND BUILD_OPTS "PG_SYSROOT=${VCPKG_OSX_SYSROOT}") include("${cmake_vars_file}")
if(VCPKG_DETECTED_CMAKE_OSX_SYSROOT)
list(APPEND BUILD_OPTS "PG_SYSROOT=${VCPKG_DETECTED_CMAKE_OSX_SYSROOT}")
endif() endif()
vcpkg_configure_make( vcpkg_configure_make(
AUTOCONFIG AUTOCONFIG

View File

@ -1,6 +1,7 @@
{ {
"name": "libpq", "name": "libpq",
"version": "14.4", "version": "14.4",
"port-version": 1,
"description": "The official database access API of postgresql", "description": "The official database access API of postgresql",
"homepage": "https://www.postgresql.org/", "homepage": "https://www.postgresql.org/",
"license": "PostgreSQL", "license": "PostgreSQL",

View File

@ -4034,7 +4034,7 @@
}, },
"libpq": { "libpq": {
"baseline": "14.4", "baseline": "14.4",
"port-version": 0 "port-version": 1
}, },
"libpqxx": { "libpqxx": {
"baseline": "7.7.3", "baseline": "7.7.3",

View File

@ -1,5 +1,10 @@
{ {
"versions": [ "versions": [
{
"git-tree": "bdf23f137f7f72e57555542fc392a8ec8e0ebd28",
"version": "14.4",
"port-version": 1
},
{ {
"git-tree": "2b3456bfb8b04525c44007f3c8a04b7e208d639d", "git-tree": "2b3456bfb8b04525c44007f3c8a04b7e208d639d",
"version": "14.4", "version": "14.4",