How can I build the cryptographic library Botan for Android? I am using Mac OS 10.7
and Eclipse IDE
.
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
Please, have a look at http://marc.info/?l=botan-devel&m=132094503031485. There it is described what the botan_all.cpp/ botan_all.h are and how they can be generated. Essentially, they contain all the functions of the Botan library in one file. They can be created by running: ./configure.py --cpu=arm --gen-amalgamation
In the next step you adjust your settings of the Android.mk according to "Undefined reference" when accessing my shared library using JNI
I'm not sure whether the procedure has changed since then. However, I hope this helps you!