Amir Borovac

Results 5 comments of Amir Borovac

The below in an excerpt from a build instructions document for android platform. It builds libvalhalla 3.0, tested with protobuf 3.6.0 and boost 1.68.0 I have another lib on top,...

Couple of amendments to the above to enable (eventually) linking against static libs across android targets/archs ```sh export CFLAGS="-fpie -fpic -O3" export CXXFLAGS="-fpie -fpic -O3" export CPPFLAGS="-fpie -fpic -O3" #...

Stripping worked for me to reduce size. Sorry, don't have exact command at hand. Perhaps the best is to strip the final binary that is using the static library.

I was stripping binary program that used libvalhalla, and the program had final size ~10 MB for Android.

> @aborovac could you please share your JNI code ? I've never done it myself.