diff --git a/OsmAnd/jni/Android.mk b/OsmAnd/jni/Android.mk index 4317cb6f72..094253696a 100755 --- a/OsmAnd/jni/Android.mk +++ b/OsmAnd/jni/Android.mk @@ -6,7 +6,7 @@ $(info OsmAnd root: $(ROOT_PATH)) ifdef BUILD_ONLY_OLD_LIB OSMAND_MAKEFILES := \ $(all-subdir-makefiles) \ - $(call all-makefiles-under,$(ROOT_PATH)/core/targets/android) + $(call all-makefiles-under,$(ROOT_PATH)/core-legacy/targets/android) else # } LEGACY OSMAND_MAKEFILES := \ diff --git a/OsmAnd/old-ndk-build.sh b/OsmAnd/old-ndk-build.sh index 878a3ab6b9..8056be82fa 100755 --- a/OsmAnd/old-ndk-build.sh +++ b/OsmAnd/old-ndk-build.sh @@ -21,5 +21,5 @@ if [ -z "$OSMAND_X86_ONLY" ] && [ -z "$OSMAND_ARM_ONLY" ] && [ -z "$OSMAND_ARMv5 echo "BUILD_ALL set to true" fi export BUILD_ONLY_OLD_LIB=1 -"$SCRIPT_LOC/../../core/externals/configure.sh" +"$SCRIPT_LOC/../../core-legacy/externals/configure.sh" (cd "$SCRIPT_LOC" && "$ANDROID_NDK/ndk-build" -j1)