Skip to content

Commit 6ca56ae

Browse files
authored
[libpq] Fix ios build (#26906)
1 parent 143bc76 commit 6ca56ae

File tree

4 files changed

+11
-3
lines changed

4 files changed

+11
-3
lines changed

ports/libpq/portfile.cmake

+4-2
Original file line numberDiff line numberDiff line change
@@ -287,8 +287,10 @@ else()
287287
if(VCPKG_TARGET_IS_ANDROID) # AND CMAKE_SYSTEM_VERSION LESS 26)
288288
list(APPEND BUILD_OPTS ac_cv_header_langinfo_h=no)
289289
endif()
290-
if(VCPKG_OSX_SYSROOT)
291-
list(APPEND BUILD_OPTS "PG_SYSROOT=${VCPKG_OSX_SYSROOT}")
290+
vcpkg_cmake_get_vars(cmake_vars_file)
291+
include("${cmake_vars_file}")
292+
if(VCPKG_DETECTED_CMAKE_OSX_SYSROOT)
293+
list(APPEND BUILD_OPTS "PG_SYSROOT=${VCPKG_DETECTED_CMAKE_OSX_SYSROOT}")
292294
endif()
293295
vcpkg_configure_make(
294296
AUTOCONFIG

ports/libpq/vcpkg.json

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"name": "libpq",
33
"version": "14.4",
4+
"port-version": 1,
45
"description": "The official database access API of postgresql",
56
"homepage": "https://www.postgresql.org/",
67
"license": "PostgreSQL",

versions/baseline.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -4034,7 +4034,7 @@
40344034
},
40354035
"libpq": {
40364036
"baseline": "14.4",
4037-
"port-version": 0
4037+
"port-version": 1
40384038
},
40394039
"libpqxx": {
40404040
"baseline": "7.7.3",

versions/l-/libpq.json

+5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
{
22
"versions": [
3+
{
4+
"git-tree": "bdf23f137f7f72e57555542fc392a8ec8e0ebd28",
5+
"version": "14.4",
6+
"port-version": 1
7+
},
38
{
49
"git-tree": "2b3456bfb8b04525c44007f3c8a04b7e208d639d",
510
"version": "14.4",

0 commit comments

Comments
 (0)