Skip to content

Commit

Permalink
third_party: attempt to fix openssl on Android
Browse files Browse the repository at this point in the history
  • Loading branch information
julianoes committed Jun 1, 2024
1 parent 3b5f1fc commit 3091ed4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion third_party/openssl/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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} <SOURCE_DIR>/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} <SOURCE_DIR>/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
)
Expand Down

0 comments on commit 3091ed4

Please sign in to comment.