File tree Expand file tree Collapse file tree 12 files changed +72
-0
lines changed
Expand file tree Collapse file tree 12 files changed +72
-0
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,12 @@ set(VCPKG_CXX_FLAGS "-fsanitize=address")
1111# Fix CMake 4.0 errors in ports supporting very old CMake verions.
1212set (VCPKG_CMAKE_CONFIGURE_OPTIONS "-DCMAKE_POLICY_VERSION_MINIMUM=3.5" )
1313
14+ # Hide symbols in the AWS SDK. Fixes symbol collisions with other libraries
15+ # like arrow (https://github.com/apache/arrow/issues/42154).
16+ if ("${PORT} " MATCHES "^aws-" )
17+ set (VCPKG_CMAKE_CONFIGURE_OPTIONS "-DCMAKE_CXX_VISIBILITY_PRESET=hidden;-DCMAKE_C_VISIBILITY_PRESET=hidden" )
18+ endif ()
19+
1420# Hide symbols in spdlog. Fixes symbol collisions in downstream projects
1521# (https://github.com/gabime/spdlog/pull/3322 was rejected).
1622if ("${PORT} " MATCHES "spdlog" )
Original file line number Diff line number Diff line change @@ -11,6 +11,12 @@ set(VCPKG_BUILD_TYPE release)
1111# Fix CMake 4.0 errors in ports supporting very old CMake verions.
1212set (VCPKG_CMAKE_CONFIGURE_OPTIONS "-DCMAKE_POLICY_VERSION_MINIMUM=3.5" )
1313
14+ # Hide symbols in the AWS SDK. Fixes symbol collisions with other libraries
15+ # like arrow (https://github.com/apache/arrow/issues/42154).
16+ if ("${PORT} " MATCHES "^aws-" )
17+ set (VCPKG_CMAKE_CONFIGURE_OPTIONS "-DCMAKE_CXX_VISIBILITY_PRESET=hidden;-DCMAKE_C_VISIBILITY_PRESET=hidden" )
18+ endif ()
19+
1420# Hide symbols in spdlog. Fixes symbol collisions in downstream projects
1521# (https://github.com/gabime/spdlog/pull/3322 was rejected).
1622if ("${PORT} " MATCHES "spdlog" )
Original file line number Diff line number Diff line change @@ -12,6 +12,12 @@ set(VCPKG_C_FLAGS "-g")
1212# Fix CMake 4.0 errors in ports supporting very old CMake verions.
1313set (VCPKG_CMAKE_CONFIGURE_OPTIONS "-DCMAKE_POLICY_VERSION_MINIMUM=3.5" )
1414
15+ # Hide symbols in the AWS SDK. Fixes symbol collisions with other libraries
16+ # like arrow (https://github.com/apache/arrow/issues/42154).
17+ if ("${PORT} " MATCHES "^aws-" )
18+ set (VCPKG_CMAKE_CONFIGURE_OPTIONS "-DCMAKE_CXX_VISIBILITY_PRESET=hidden;-DCMAKE_C_VISIBILITY_PRESET=hidden" )
19+ endif ()
20+
1521# Hide symbols in spdlog. Fixes symbol collisions in downstream projects
1622# (https://github.com/gabime/spdlog/pull/3322 was rejected).
1723if ("${PORT} " MATCHES "spdlog" )
Original file line number Diff line number Diff line change @@ -9,6 +9,12 @@ set(VCPKG_OSX_DEPLOYMENT_TARGET 11)
99# Fix CMake 4.0 errors in ports supporting very old CMake verions.
1010set (VCPKG_CMAKE_CONFIGURE_OPTIONS "-DCMAKE_POLICY_VERSION_MINIMUM=3.5" )
1111
12+ # Hide symbols in the AWS SDK. Fixes symbol collisions with other libraries
13+ # like arrow (https://github.com/apache/arrow/issues/42154).
14+ if ("${PORT} " MATCHES "^aws-" )
15+ set (VCPKG_CMAKE_CONFIGURE_OPTIONS "-DCMAKE_CXX_VISIBILITY_PRESET=hidden;-DCMAKE_C_VISIBILITY_PRESET=hidden" )
16+ endif ()
17+
1218# Hide symbols in spdlog. Fixes symbol collisions in downstream projects
1319# (https://github.com/gabime/spdlog/pull/3322 was rejected).
1420if ("${PORT} " MATCHES "spdlog" )
Original file line number Diff line number Diff line change @@ -10,6 +10,12 @@ set(VCPKG_CXX_FLAGS "-fsanitize=address")
1010# Fix CMake 4.0 errors in ports supporting very old CMake verions.
1111set (VCPKG_CMAKE_CONFIGURE_OPTIONS "-DCMAKE_POLICY_VERSION_MINIMUM=3.5" )
1212
13+ # Hide symbols in the AWS SDK. Fixes symbol collisions with other libraries
14+ # like arrow (https://github.com/apache/arrow/issues/42154).
15+ if ("${PORT} " MATCHES "^aws-" )
16+ set (VCPKG_CMAKE_CONFIGURE_OPTIONS "-DCMAKE_CXX_VISIBILITY_PRESET=hidden;-DCMAKE_C_VISIBILITY_PRESET=hidden" )
17+ endif ()
18+
1319# Hide symbols in spdlog. Fixes symbol collisions in downstream projects
1420# (https://github.com/gabime/spdlog/pull/3322 was rejected).
1521if ("${PORT} " MATCHES "spdlog" )
Original file line number Diff line number Diff line change @@ -9,6 +9,12 @@ set(VCPKG_BUILD_TYPE release)
99# Fix CMake 4.0 errors in ports supporting very old CMake verions.
1010set (VCPKG_CMAKE_CONFIGURE_OPTIONS "-DCMAKE_POLICY_VERSION_MINIMUM=3.5" )
1111
12+ # Hide symbols in the AWS SDK. Fixes symbol collisions with other libraries
13+ # like arrow (https://github.com/apache/arrow/issues/42154).
14+ if ("${PORT} " MATCHES "^aws-" )
15+ set (VCPKG_CMAKE_CONFIGURE_OPTIONS "-DCMAKE_CXX_VISIBILITY_PRESET=hidden;-DCMAKE_C_VISIBILITY_PRESET=hidden" )
16+ endif ()
17+
1218# Hide symbols in spdlog. Fixes symbol collisions in downstream projects
1319# (https://github.com/gabime/spdlog/pull/3322 was rejected).
1420if ("${PORT} " MATCHES "spdlog" )
Original file line number Diff line number Diff line change @@ -10,6 +10,12 @@ set(VCPKG_C_FLAGS "-g")
1010# Fix CMake 4.0 errors in ports supporting very old CMake verions.
1111set (VCPKG_CMAKE_CONFIGURE_OPTIONS "-DCMAKE_POLICY_VERSION_MINIMUM=3.5" )
1212
13+ # Hide symbols in the AWS SDK. Fixes symbol collisions with other libraries
14+ # like arrow (https://github.com/apache/arrow/issues/42154).
15+ if ("${PORT} " MATCHES "^aws-" )
16+ set (VCPKG_CMAKE_CONFIGURE_OPTIONS "-DCMAKE_CXX_VISIBILITY_PRESET=hidden;-DCMAKE_C_VISIBILITY_PRESET=hidden" )
17+ endif ()
18+
1319# Hide symbols in spdlog. Fixes symbol collisions in downstream projects
1420# (https://github.com/gabime/spdlog/pull/3322 was rejected).
1521if ("${PORT} " MATCHES "spdlog" )
Original file line number Diff line number Diff line change @@ -7,6 +7,12 @@ set(VCPKG_CMAKE_SYSTEM_NAME Linux)
77# Fix CMake 4.0 errors in ports supporting very old CMake verions.
88set (VCPKG_CMAKE_CONFIGURE_OPTIONS "-DCMAKE_POLICY_VERSION_MINIMUM=3.5" )
99
10+ # Hide symbols in the AWS SDK. Fixes symbol collisions with other libraries
11+ # like arrow (https://github.com/apache/arrow/issues/42154).
12+ if ("${PORT} " MATCHES "^aws-" )
13+ set (VCPKG_CMAKE_CONFIGURE_OPTIONS "-DCMAKE_CXX_VISIBILITY_PRESET=hidden;-DCMAKE_C_VISIBILITY_PRESET=hidden" )
14+ endif ()
15+
1016# Hide symbols in spdlog. Fixes symbol collisions in downstream projects
1117# (https://github.com/gabime/spdlog/pull/3322 was rejected).
1218if ("${PORT} " MATCHES "spdlog" )
Original file line number Diff line number Diff line change @@ -11,6 +11,12 @@ set(VCPKG_CXX_FLAGS "-fsanitize=address")
1111# Fix CMake 4.0 errors in ports supporting very old CMake verions.
1212set (VCPKG_CMAKE_CONFIGURE_OPTIONS "-DCMAKE_POLICY_VERSION_MINIMUM=3.5" )
1313
14+ # Hide symbols in the AWS SDK. Fixes symbol collisions with other libraries
15+ # like arrow (https://github.com/apache/arrow/issues/42154).
16+ if ("${PORT} " MATCHES "^aws-" )
17+ set (VCPKG_CMAKE_CONFIGURE_OPTIONS "-DCMAKE_CXX_VISIBILITY_PRESET=hidden;-DCMAKE_C_VISIBILITY_PRESET=hidden" )
18+ endif ()
19+
1420# Hide symbols in spdlog. Fixes symbol collisions in downstream projects
1521# (https://github.com/gabime/spdlog/pull/3322 was rejected).
1622if ("${PORT} " MATCHES "spdlog" )
Original file line number Diff line number Diff line change @@ -11,6 +11,12 @@ set(VCPKG_BUILD_TYPE release)
1111# Fix CMake 4.0 errors in ports supporting very old CMake verions.
1212set (VCPKG_CMAKE_CONFIGURE_OPTIONS "-DCMAKE_POLICY_VERSION_MINIMUM=3.5" )
1313
14+ # Hide symbols in the AWS SDK. Fixes symbol collisions with other libraries
15+ # like arrow (https://github.com/apache/arrow/issues/42154).
16+ if ("${PORT} " MATCHES "^aws-" )
17+ set (VCPKG_CMAKE_CONFIGURE_OPTIONS "-DCMAKE_CXX_VISIBILITY_PRESET=hidden;-DCMAKE_C_VISIBILITY_PRESET=hidden" )
18+ endif ()
19+
1420# Hide symbols in spdlog. Fixes symbol collisions in downstream projects
1521# (https://github.com/gabime/spdlog/pull/3322 was rejected).
1622if ("${PORT} " MATCHES "spdlog" )
You can’t perform that action at this time.
0 commit comments