[harfbuzz] Use C++ linker for Android (#52113)

Co-authored-by: Victor Romero <romerosanchezv@gmail.com>
This commit is contained in:
Kai Pastor 2026-06-03 05:53:00 +02:00 committed by GitHub
parent 9e9398f90a
commit 059d760472
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 14 additions and 2 deletions

View File

@ -76,6 +76,13 @@ else()
list(APPEND OPTIONS -Dintrospection=disabled)
endif()
# This option switches the link language to C++,
# matching the C++ sources. This is necessary
# for android-dynamic and maybe more platforms.
if(VCPKG_TARGET_IS_ANDROID)
list(APPEND OPTIONS -Dwith_libstdcxx=true)
endif()
set(cxx_link_libraries "")
if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
block(PROPAGATE cxx_link_libraries)

View File

@ -1,7 +1,7 @@
{
"name": "harfbuzz",
"version": "14.2.0",
"port-version": 2,
"port-version": 3,
"description": "HarfBuzz OpenType text shaping engine",
"homepage": "https://github.com/harfbuzz/harfbuzz",
"license": "MIT-Modern-Variant",

View File

@ -3754,7 +3754,7 @@
},
"harfbuzz": {
"baseline": "14.2.0",
"port-version": 2
"port-version": 3
},
"hash-library": {
"baseline": "8",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "b1f66bbbc19c8162fd706177182059b2e9c62002",
"version": "14.2.0",
"port-version": 3
},
{
"git-tree": "8a13874241340ff2488f3ed018cdc70b0c581679",
"version": "14.2.0",