Skip to content

Commit

Permalink
ci: try disable ANDROID_STL=c++_static for libiconv
Browse files Browse the repository at this point in the history
  • Loading branch information
MistEO committed Dec 25, 2023
1 parent 0ae8b1c commit 4268f40
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
4 changes: 4 additions & 0 deletions vcpkg-overlay/triplets/maa-android-library-override.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,7 @@ if (PORT MATCHES "curl")
string(APPEND VCPKG_C_FLAGS "-Wno-error=implicit-function-declaration")
string(APPEND VCPKG_CXX_FLAGS "-Wno-error=implicit-function-declaration")
endif()
if (NOT PORT MATCHES "libiconv")
message("add -DANDROID_STL=c++_static for ${PORT}")
set(VCPKG_CMAKE_CONFIGURE_OPTIONS ${VCPKG_CMAKE_CONFIGURE_OPTIONS} "-DANDROID_STL=c++_static")
endif()
3 changes: 1 addition & 2 deletions vcpkg-overlay/triplets/maa-arm-android.cmake
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
set(VCPKG_TARGET_ARCHITECTURE arm)
set(VCPKG_CRT_LINKAGE static)
set(VCPKG_LIBRARY_LINKAGE static)
set(VCPKG_CRT_LINKAGE dynamic)
set(VCPKG_CMAKE_SYSTEM_NAME Android)
set(VCPKG_CMAKE_SYSTEM_VERSION 23)
set(VCPKG_BUILD_TYPE release)
Expand Down
3 changes: 1 addition & 2 deletions vcpkg-overlay/triplets/maa-arm64-android.cmake
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
set(VCPKG_TARGET_ARCHITECTURE arm64)
set(VCPKG_CRT_LINKAGE static)
set(VCPKG_LIBRARY_LINKAGE static)
set(VCPKG_CRT_LINKAGE dynamic)
set(VCPKG_CMAKE_SYSTEM_NAME Android)
set(VCPKG_CMAKE_SYSTEM_VERSION 23)
set(VCPKG_BUILD_TYPE release)
Expand Down

0 comments on commit 4268f40

Please sign in to comment.