From 7b7bca87a535462dac62e087309bf90c04495005 Mon Sep 17 00:00:00 2001 From: Czarek Nakamoto Date: Tue, 2 Jan 2024 22:45:20 +0100 Subject: drop android's `log` library. linux support --- libbridge/CMakeLists.txt | 4 +--- libbridge/src/main/cpp/helpers.cpp | 1 + libbridge/src/main/cpp/wallet2_api_c.cpp | 1 + 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'libbridge') diff --git a/libbridge/CMakeLists.txt b/libbridge/CMakeLists.txt index e82b3d1..4729bb1 100644 --- a/libbridge/CMakeLists.txt +++ b/libbridge/CMakeLists.txt @@ -184,7 +184,7 @@ set_target_properties(cryptonote_format_utils_basic PROPERTIES IMPORTED_LOCATION # System ############# -find_library( log-lib log ) +#find_library( log-lib log ) include_directories( ${EXTERNAL_LIBS_DIR}/include ) @@ -241,6 +241,4 @@ target_link_libraries( wallet2_api_c crypto sodium - - log ) diff --git a/libbridge/src/main/cpp/helpers.cpp b/libbridge/src/main/cpp/helpers.cpp index ffb96f2..064ce36 100644 --- a/libbridge/src/main/cpp/helpers.cpp +++ b/libbridge/src/main/cpp/helpers.cpp @@ -8,6 +8,7 @@ #include "helpers.hpp" #include #include +#include const char* vectorToString(const std::vector& vec, const std::string separator) { // Concatenate all strings in the vector diff --git a/libbridge/src/main/cpp/wallet2_api_c.cpp b/libbridge/src/main/cpp/wallet2_api_c.cpp index b3ea430..e173526 100644 --- a/libbridge/src/main/cpp/wallet2_api_c.cpp +++ b/libbridge/src/main/cpp/wallet2_api_c.cpp @@ -3,6 +3,7 @@ #include "wallet2_api.h" #include #include "helpers.hpp" +#include #ifdef __cplusplus extern "C" -- cgit v1.2.3