summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcyan <cyjan@mrcyjanek.net>2024-11-15 20:54:08 +0000
committercyan <cyjan@mrcyjanek.net>2024-11-15 20:54:08 +0000
commitbbd1a53e16ed57fff5147e1cd300ee88baff706f (patch)
treeb8820ce829070258544487842ede9153c017718c
parent24eb7ea455b80b564453aa5f4be7a5eee603bb96 (diff)
link missing wowner-seed library
-rw-r--r--monero_libwallet2_api_c/CMakeLists.txt13
1 files changed, 13 insertions, 0 deletions
diff --git a/monero_libwallet2_api_c/CMakeLists.txt b/monero_libwallet2_api_c/CMakeLists.txt
index dafa2a6..2066f2c 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