From 3091ed4cb516602dbf08e7ba30d2bd299e322950 Mon Sep 17 00:00:00 2001 From: Julian Oes Date: Tue, 28 May 2024 18:03:19 +1200 Subject: [PATCH] third_party: attempt to fix openssl on Android --- third_party/openssl/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/third_party/openssl/CMakeLists.txt b/third_party/openssl/CMakeLists.txt index bae71558e..5b49df8c0 100644 --- a/third_party/openssl/CMakeLists.txt +++ b/third_party/openssl/CMakeLists.txt @@ -35,7 +35,7 @@ if(ANDROID) URL https://www.openssl.org/source/openssl-${OPENSSL_VERSION}.tar.gz PREFIX openssl PATCH_COMMAND patch -p 0 < ${PROJECT_SOURCE_DIR}/dockcross-android.patch - CONFIGURE_COMMAND ${CMAKE_COMMAND} -E env ANDROID_NDK=$ENV{CROSS_ROOT} /Configure --sysroot=$ENV{CROSS_ROOT}/sysroot ${OPENSSL_PLATFORM} --prefix=${CMAKE_INSTALL_PREFIX} ${OPENSSL_BUILD_TYPE} no-shared + CONFIGURE_COMMAND ${CMAKE_COMMAND} -E env ANDROID_NDK=$ENV{CROSS_ROOT} /Configure --sysroot=$ENV{CROSS_ROOT}/sysroot ${OPENSSL_PLATFORM} --prefix=${CMAKE_INSTALL_PREFIX} ${OPENSSL_BUILD_TYPE} no-asm no-shared BUILD_COMMAND make INSTALL_COMMAND make install_sw )