MysticTreeGames/Boost-for-Android — pull request #9 by inetic (2012-06-22 00:48:10+00:00)
Title: Changes to build boost 1.48 as well as 1.45

Hi, me and Adam (madadam) are working on a project that is using boost 1.48 and right now we are in a process of porting (not that the project is finished though :) ). It seems that your projects need boost 1.45 as you haven't merged the changes others have made to increase the boost version, so we tried to keep that version still working.

You can build the older version using: ./build-android.sh --boost=1.45.0

One of the changes we had to do was to split the user-config.jam.patch into separate patches each corresponding to a particular NDK version. This is because when building boost 1.48 the build process checks all the configurations as well as if the compilers are present - from which usually only one is present and others are missing - and then returns with error.

For simplicity of the build-android.sh we have changed the user-config.jam.patch for boost 1.45 correspondingly.

We also increased the NDK version that can be used to build it to 8.

Some smaller changes are:
- The --clean argument now only deletes all build output and then exits (unless --download is used as well)
- Running the build-android.sh always removes the boost_1_XY_0 directory before building.
The reasoning is that the script doesn't know what state has the previous build left the directory in.
Not sure if this is a behavior you desire though.