From bbd1a53e16ed57fff5147e1cd300ee88baff706f Mon Sep 17 00:00:00 2001 From: cyan Date: Fri, 15 Nov 2024 20:54:08 +0000 Subject: [PATCH] link missing wowner-seed library --- monero_libwallet2_api_c/CMakeLists.txt | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/monero_libwallet2_api_c/CMakeLists.txt b/monero_libwallet2_api_c/CMakeLists.txt index dafa2a6f..2066f2cb 100644 --- a/monero_libwallet2_api_c/CMakeLists.txt +++ b/monero_libwallet2_api_c/CMakeLists.txt @@ -99,10 +99,23 @@ if(${HOST_ABI} STREQUAL "x86_64-apple-darwin11" OR ${HOST_ABI} STREQUAL "aarch64 set_target_properties(${TARGET} PROPERTIES LINK_DEPENDS ${EXPORTED_SYMBOLS_FILE}) endif() +if(${MONERO_FLAVOR} STREQUAL "wownero") + set(EXTRA_LIBS_WOWNEROSEED wownero-seed) + if(${HOST_ABI} STREQUAL "aarch64-meego-linux-gnu") + add_library(wownero-seed STATIC IMPORTED) + set_target_properties(wownero-seed PROPERTIES IMPORTED_LOCATION + ${EXTERNAL_LIBS_DIR}/lib64/libwownero-seed.a) + else() + add_library(wownero-seed STATIC IMPORTED) + set_target_properties(wownero-seed PROPERTIES IMPORTED_LOCATION + ${EXTERNAL_LIBS_DIR}/lib/libwownero-seed.a) + endif() +endif() target_link_libraries( wallet2_api_c wallet_api ${wallet_api_LIB_DEPENDS} ${EXTRA_LIBS_ANDROID} + ${EXTRA_LIBS_WOWNEROSEED} ) \ No newline at end of file