Martchus
09a32a6045
* Set consistent Android API level * Ensure make utilizes all CPU cores if `MAKEFLAGS` are otherwise cleared via `!buildflags` because this is nevertheless wanted in mingw-w64 and android packages (that usually set `!buildflags`) * Ensure required devel packages are installed
13 lines
288 B
Bash
13 lines
288 B
Bash
#!/usr/bin/bash
|
|
|
|
[[ -n "$LIBMAKEPKG_BUILDENV_ANDROID_SH" ]] && return
|
|
LIBMAKEPKG_BUILDENV_ANDROID_SH=1
|
|
|
|
buildenv_functions+=('buildenv_android')
|
|
buildenv_vars+=('ANDROID_MINIMUM_PLATFORM')
|
|
|
|
buildenv_android() {
|
|
# set minimum Android version to Android 7.0
|
|
ANDROID_MINIMUM_PLATFORM=24
|
|
}
|