enable-stdio-on-iOS.patch 920 B

123456789101112131415161718192021222324
  1. From 3176985bc5136e5b7658ab22d85e406c5da4bd82 Mon Sep 17 00:00:00 2001
  2. Date: Fri, 11 Mar 2022 13:25:09 -0800
  3. Subject: [PATCH] Enable stdio on iOS
  4. ---
  5. ports/openssl/unix/CMakeLists.txt | 2 +-
  6. 1 file changed, 1 insertion(+), 1 deletion(-)
  7. diff --git a/ports/openssl/unix/CMakeLists.txt b/ports/openssl/unix/CMakeLists.txt
  8. index 7bf45e27b..8cdb65fc3 100644
  9. --- a/ports/openssl/unix/CMakeLists.txt
  10. +++ b/ports/openssl/unix/CMakeLists.txt
  11. @@ -23,7 +23,7 @@ elseif(CMAKE_SYSTEM_NAME STREQUAL "iOS")
  12. message(FATAL_ERROR "Unknown iOS target architecture: ${VCPKG_TARGET_ARCHITECTURE}")
  13. endif()
  14. # disable that makes linkage error (e.g. require stderr usage)
  15. - list(APPEND DISABLES no-stdio no-ui no-asm)
  16. + list(APPEND DISABLES no-ui no-asm)
  17. elseif(CMAKE_SYSTEM_NAME STREQUAL "Darwin")
  18. if(VCPKG_TARGET_ARCHITECTURE MATCHES "arm64")
  19. set(PLATFORM darwin64-arm64-cc)
  20. --
  21. 2.34.0.windows.1