From 629fa4a346ca29d5ed18a2b44895b8858ba7c9f7 Mon Sep 17 00:00:00 2001 From: cyan Date: Thu, 13 Feb 2025 09:24:17 +0100 Subject: [PATCH] fix x64 dependencies (#115) --- .devcontainer/Dockerfile | 2 +- monero_libwallet2_api_c/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index ed16f21..bf7e370 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -1,4 +1,4 @@ -FROM ghcr.io/cirruslabs/flutter:3.24.3 +FROM --platform=linux/amd64 ghcr.io/cirruslabs/flutter:3.24.3 # FROM debian:bookworm SHELL ["/bin/bash", "-c"] diff --git a/monero_libwallet2_api_c/CMakeLists.txt b/monero_libwallet2_api_c/CMakeLists.txt index e2e7139..3c61706 100644 --- a/monero_libwallet2_api_c/CMakeLists.txt +++ b/monero_libwallet2_api_c/CMakeLists.txt @@ -39,7 +39,7 @@ if (${HOST_ABI} STREQUAL "host-apple-darwin" OR endif() endif() -if(${HOST_ABI} STREQUAL "" OR +if(${HOST_ABI} STREQUAL "x86_64-linux-android" OR ${HOST_ABI} STREQUAL "i686-linux-android" OR ${HOST_ABI} STREQUAL "aarch64-linux-android" OR ${HOST_ABI} STREQUAL "armv7a-linux-androideabi")