A port of the 39dll for Linux originally written for Win32 by Luke Graham (39ster in GMC)
================== BUILD INSTRUCTIONS
Make sure build-essential AND g++ is installed.
Cd to the source directory
execute the following FOR EACH cpp file: g++ -fPIC -c -o obj/<INSERT CPP FILE NAME WITHOUT .CPP HERE>.o
so an example would be: g++ -fPIC -c -o obj/main.o main.cpp
Then execute the following: g++ -shared obj/*.o -o 39dll-4-linux.so
Make sure the NDK is installed and ndk-build is on your path. You will also require the Android SDK with its tools and platform -tools on your path
CD to the project root dir if you are not already there.
Simply execute the following command: ndk-build NDK_PROJECT_PATH=. NDK_APPLICATION_MK=Application.mk
NOTE: If you get the following error: 'Android NDK: There is no Android.mk under ./jni' then you are in the wrong directory (probably android-src). MAKE SURE you are in the ROOT of the source tree