mirror of
https://github.com/koreader/koreader.git
synced 2025-12-13 20:36:53 +01:00
[fix] kodev: default NDKABI=14 if not set for NDK 15 standalone toolkit
This commit is contained in:
4
kodev
4
kodev
@@ -3,6 +3,10 @@
|
|||||||
CURDIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
CURDIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||||
VERSION=$(git describe HEAD)
|
VERSION=$(git describe HEAD)
|
||||||
|
|
||||||
|
# Default to Android 4.0+; required for NDK 15 but with a custom NDK the strict minimum is 9.
|
||||||
|
NDKABI=${NDKABI:-14}
|
||||||
|
export NDKABI
|
||||||
|
|
||||||
function assert_ret_zero() {
|
function assert_ret_zero() {
|
||||||
if [ "$1" -ne 0 ]; then
|
if [ "$1" -ne 0 ]; then
|
||||||
if [ ! -z "$2" ]; then
|
if [ ! -z "$2" ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user