Build Botan library for Android

2019-07-20 08:44发布

问题:

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!