message: Fixed configure step for BerkeleyDB
diff: @@ -125,13 +125,13 @@ else()
  endif()
  if (ARMEABI_V7A)
  - set(BERKELEYDB_PLATFORM "armeabi")
  - set(CONFIGURE_BERKELEYDB_PARAMS ${CONFIGURE_BERKELEYDB_PARAMS} "-march=armv7-a")
  + set(BERKELEYDB_PLATFORM "--host armeabi")
  +# set(CONFIGURE_BERKELEYDB_PARAMS ${CONFIGURE_BERKELEYDB_PARAMS} "-march=armv7-a")
  else()
  if (CMAKE_ANDROID_ARCH_ABI MATCHES "arm64-v8a")
  - set(BERKELEYDB_PLATFORM "aarch64")
  + set(BERKELEYDB_PLATFORM "--host arm")
  else()
  - set(BERKELEYDB_PLATFORM ${CMAKE_ANDROID_ARCH_ABI})
  + set(BERKELEYDB_PLATFORM "--host ${CMAKE_ANDROID_ARCH_ABI}")
  endif()
  endif()
  @@ -164,7 +164,7 @@ else()
  message(STATUS "OPENSSL_PLATFORM: ${OPENSSL_PLATFORM}")
  message(STATUS "ANDROID_TOOLCHAIN_ROOT: ${ANDROID_TOOLCHAIN_ROOT}")
  - set(COMMAND_CONFIGURE ../dist/configure ${CONFIGURE_BERKELEYDB_PARAMS} ${CONFIGURE_BERKELEYDB_MODULES})
  + set(COMMAND_CONFIGURE ../dist/configure ${CONFIGURE_BERKELEYDB_PARAMS} ${BERKELEYDB_PLATFORM} ${CONFIGURE_BERKELEYDB_MODULES})
  set(COMMAND_TEST "true")
  set(CONFIGURE_DIR build_android)
  else() # detect host system automatically
  