Skip to content

Commit

Permalink
Android patch is still required. Renaming since this also works with …
Browse files Browse the repository at this point in the history
…1.11.288

Signed-off-by: AMZN-Gene <[email protected]>
  • Loading branch information
AMZN-Gene committed Mar 27, 2024
1 parent d3812c5 commit 4c8c237
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions package-system/AWSNativeSDK/AWSNativeSDK-1.11.288-android.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
diff --git a/android-build/CMakeLists.txt b/android-build/CMakeLists.txt
index d88f235750..b9c6ad0041 100644
--- a/android-build/CMakeLists.txt
+++ b/android-build/CMakeLists.txt
@@ -86,5 +86,6 @@ if(BUILD_CURL)
-DBUILD_CURL_EXE=ON
-DBUILD_CURL_TESTS=OFF
-DCURL_ZLIB=${CURL_USE_ZLIB}
+ -DCMAKE_MODULE_PATH="D:/3p-package-source/package-system/OpenSSL-1.1.1m-rev1-android"
)
endif()
diff --git a/cmake/build_external.cmake b/cmake/build_external.cmake
index f8cfb63232..f8087965e1 100644
--- a/cmake/build_external.cmake
+++ b/cmake/build_external.cmake
@@ -65,6 +65,8 @@ if(BUILD_CURL OR BUILD_OPENSSL OR BUILD_ZLIB)

set(LibCrypto_INCLUDE_DIR "${OPENSSL_INCLUDE_DIR}" CACHE INTERNAL "crypto include dir")
set(LibCrypto_STATIC_LIBRARY "${OPENSSL_LIBRARY_DIR}/libcrypto.a" CACHE INTERNAL "crypto static library")
+ else()
+ set(OPENSSL_LINKER_FLAGS "-L${OPENSSL_LIBS_DIR}" CACHE INTERNAL "linker flags to find openssl")
endif()

# curl

0 comments on commit 4c8c237

Please sign in to comment.