Skip to content

Commit

Permalink
[libpq] Fix ios build (#26906)
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn authored Sep 26, 2022
1 parent 143bc76 commit 6ca56ae
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 3 deletions.
6 changes: 4 additions & 2 deletions ports/libpq/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -287,8 +287,10 @@ else()
if(VCPKG_TARGET_IS_ANDROID) # AND CMAKE_SYSTEM_VERSION LESS 26)
list(APPEND BUILD_OPTS ac_cv_header_langinfo_h=no)
endif()
if(VCPKG_OSX_SYSROOT)
list(APPEND BUILD_OPTS "PG_SYSROOT=${VCPKG_OSX_SYSROOT}")
vcpkg_cmake_get_vars(cmake_vars_file)
include("${cmake_vars_file}")
if(VCPKG_DETECTED_CMAKE_OSX_SYSROOT)
list(APPEND BUILD_OPTS "PG_SYSROOT=${VCPKG_DETECTED_CMAKE_OSX_SYSROOT}")
endif()
vcpkg_configure_make(
AUTOCONFIG
Expand Down
1 change: 1 addition & 0 deletions ports/libpq/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "libpq",
"version": "14.4",
"port-version": 1,
"description": "The official database access API of postgresql",
"homepage": "https://www.postgresql.org/",
"license": "PostgreSQL",
Expand Down
2 changes: 1 addition & 1 deletion versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -4034,7 +4034,7 @@
},
"libpq": {
"baseline": "14.4",
"port-version": 0
"port-version": 1
},
"libpqxx": {
"baseline": "7.7.3",
Expand Down
5 changes: 5 additions & 0 deletions versions/l-/libpq.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "bdf23f137f7f72e57555542fc392a8ec8e0ebd28",
"version": "14.4",
"port-version": 1
},
{
"git-tree": "2b3456bfb8b04525c44007f3c8a04b7e208d639d",
"version": "14.4",
Expand Down

0 comments on commit 6ca56ae

Please sign in to comment.