Skip to content

Commit

Permalink
fix wownero build on aarch64 sfos
Browse files Browse the repository at this point in the history
  • Loading branch information
MrCyjaneK committed Jun 28, 2024
1 parent a117d70 commit d145acd
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions monero_libwallet2_api_c/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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()

#############
Expand Down

0 comments on commit d145acd

Please sign in to comment.