Commit Graph

4 Commits

Author SHA1 Message Date
Alexander Schlarb 4f704e9df1 Android: Improve quality of build scripts
* Make build scripts fully whitespace safe to the extend premitted by autotools
 * Let all build scripts fail fast on error, previously they would continue and then fail with spurious follow-up errors burrowing the actual issue
 * Ensure that all build scripts start with a valid shebang (`#!`)
 * Fix jumbled letters in `android/build_build_app_x86.sh`
2018-03-27 21:51:06 +02:00
Alexander Schlarb 3ee7631354 Android: update order of binary search path in build scripts
* `PATH` environment was: `export PATH="$PATH:$TCBINARIES:$TCINCLUDES/bin"`
 * If system `libcurl-dev` (Debian) is installed its `curl-config` script will be first in `PATH`
 * `./configure` will choose the system `curl-config` and fail to compile
2018-03-23 18:10:01 +01:00
Oliver Bock 115db9e889 [android] Fixed/improved Android build scripts
* Removed hard-coded paths and dependency versions
* Default values can now be overridden via environment variables:
  * NDK_ROOT (recommended)
  * ANDROID_TC[_<arch>] (optional: toolchain folders)
  * CURL_SRC (recommended)
  * OPENSSL_SRC (recommended)
* Fixed cURL mips64 build
* Moved toolchains into common parent directory
* Made asset directory creation idempotent
2017-03-29 09:08:02 +00:00
Rom Walton 3eb9d83c2f ANDROID: Add simple build scripts for building Android applications (assumes a Makefile that is compatible with 'make') 2015-01-15 14:33:42 -05:00