diff --git a/OsmAnd-java/CMakeLists.txt b/OsmAnd-java/CMakeLists.txt index 98a2c007c4..2364fdb50c 100644 --- a/OsmAnd-java/CMakeLists.txt +++ b/OsmAnd-java/CMakeLists.txt @@ -63,6 +63,7 @@ if(CMAKE_SHARED_LIBS_ALLOWED_ON_TARGET) target_compile_definitions(OsmAndJNI PRIVATE -DOSMAND_JNI_EXPORTS + -DOSMAND_SWIG ) target_include_directories(OsmAndJNI PRIVATE diff --git a/OsmAnd/full-ndk-build.sh b/OsmAnd/full-ndk-build.sh index 58168311c5..869f5920c9 100755 --- a/OsmAnd/full-ndk-build.sh +++ b/OsmAnd/full-ndk-build.sh @@ -29,7 +29,7 @@ if [[ "$(uname -a)" =~ Darwin ]]; then fi fi -OSMAND_ANDROID_EXTERNAL_DEPENDENCIES=(expat freetype gdal giflib glm glsl-optimizer jpeg libpng protobuf qtbase-android skia boost-android) +OSMAND_ANDROID_EXTERNAL_DEPENDENCIES=(expat freetype gdal giflib glm glsl-optimizer jpeg libpng protobuf qtbase-android skia icu4c boost-android) "$SCRIPT_LOC/../../core/externals/configure.sh" ${OSMAND_ANDROID_EXTERNAL_DEPENDENCIES[*]} "$SCRIPT_LOC/../../core/externals/build.sh" ${OSMAND_ANDROID_EXTERNAL_DEPENDENCIES[*]} "$SCRIPT_LOC/../OsmAnd-java/generate-swig.sh"