summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCzarek Nakamoto <cyjan@mrcyjanek.net>2024-06-29 00:14:18 +0200
committerCzarek Nakamoto <cyjan@mrcyjanek.net>2024-06-29 00:14:18 +0200
commitd145acd8bd75abe341a0dd24c685dd697e72aeae (patch)
treef166a64c75829b3b3ede0751fc72b8c6e478b870
parenta117d701b1afa8b139a024440016fa5a9058f411 (diff)
fix wownero build on aarch64 sfos
-rw-r--r--monero_libwallet2_api_c/CMakeLists.txt12
1 files changed, 9 insertions, 3 deletions
diff --git a/monero_libwallet2_api_c/CMakeLists.txt b/monero_libwallet2_api_c/CMakeLists.txt
index 47986b2..c7fc119 100644
--- a/monero_libwallet2_api_c/CMakeLists.txt
+++ b/monero_libwallet2_api_c/CMakeLists.txt
@@ -156,9 +156,15 @@ endif()
if (${MONERO_FLAVOR} STREQUAL "wownero")
set(EXTRA_LIBS_WOWNEROSEED wownero-seed)
- add_library(wownero-seed STATIC IMPORTED)
- set_target_properties(wownero-seed PROPERTIES IMPORTED_LOCATION
- ${EXTERNAL_LIBS_DIR}/lib/libwownero-seed.a)
+ 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()
#############