From c4b28a6a62388c5ad4004962edb43cadbfba5ddb Mon Sep 17 00:00:00 2001 From: Czarek Nakamoto Date: Thu, 23 May 2024 08:03:35 +0200 Subject: -DCMAKE_SYSTEM_VERSION=1 is the workaround to update to newer ndk without breaking the entire build system --- monero_libwallet2_api_c/CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'monero_libwallet2_api_c') diff --git a/monero_libwallet2_api_c/CMakeLists.txt b/monero_libwallet2_api_c/CMakeLists.txt index d6dd7b5..e9691b7 100644 --- a/monero_libwallet2_api_c/CMakeLists.txt +++ b/monero_libwallet2_api_c/CMakeLists.txt @@ -306,8 +306,7 @@ include_directories( ${EXTERNAL_LIBS_DIR}/include ) message(STATUS EXTERNAL_LIBS_DIR : ${EXTERNAL_LIBS_DIR}) if(${HOST_ABI} STREQUAL "x86_64-linux-gnu" OR - ${HOST_ABI} STREQUAL "x86_64-apple-darwin11" OR - ${HOST_ABI} STREQUAL "x86_64-linux-android") + ${HOST_ABI} STREQUAL "x86_64-apple-darwin11") set(EXTRA_LIBS "wallet-crypto") else() set(EXTRA_LIBS "") @@ -349,6 +348,7 @@ endif() if (${MONERO_FLAVOR} STREQUAL "monero") target_compile_definitions(wallet2_api_c PRIVATE FLAVOR_MONERO) + set(BCUR_ENABLED bc-ur) elseif(${MONERO_FLAVOR} STREQUAL "wownero") target_compile_definitions(wallet2_api_c PRIVATE FLAVOR_WOWNERO) endif() @@ -414,7 +414,7 @@ target_link_libraries( wallet2_api_c ${EXTRA_LIBS_WOWNEROSEED} utf8proc - bc-ur + ${BCUR_ENABLED} ssl crypto -- cgit v1.2.3