在 windows 系统中使用 NDK21 为 android 环境构建 openssl 库时出错

Error building openssl library in windows system with NDK21 for android environment

我正在 windows 10 上使用 NDK 21 为 android studio 3.6 构建 openssl。我正在遵循 https://developer.android.com/ndk/guides/other_build_systems Autoconf 方法并陷入其中。有没有人知道应该是什么问题。

跟随时出现此错误:

apps/bf_prefix.o apps/opt.o apps/s_cb.o apps/s_socket.o 制作[1]:/mnt/c/Users/jyotsna/AppData/Local/Android/Sdk/ndk/21.0.6113669/toolchains/llvm/prebuilt/windows- x86_64/bin/i686-linux-android-ar: 找不到命令 Makefile:697:目标 'apps/libapps.a' 的配方失败 make[1]: * [apps/libapps.a] 错误 127 make[1]: 离开目录 '/mnt/c/Users/jyot/Downloads/openssl-1.1.1g' Makefile:172:目标 'all' 的配方失败 make: * [所有] 错误 2

Google 宣布 NDKPorts 发布预编译的 OpenSSL。就用那个。