enable-stdio-on-iOS.patch 906 B

123456789101112131415161718192021222324
  1. From 994b564a93e21d37b2d470dbc3773855184804e6 Mon Sep 17 00:00:00 2001
  2. Date: Tue, 20 Apr 2021 18:15:26 -0700
  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 14633c9..2c73753 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.30.1