From f5eec3d9308e11a4eb75dee8e9943b7844b248a3 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Sun, 5 Feb 2012 20:52:38 +0900 Subject: [PATCH] Set all android envvars for make as well as configure. Running make might trigger a reconfig, so the vars are always necessary. --- tools/cross/droid/cross-make.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/cross/droid/cross-make.sh b/tools/cross/droid/cross-make.sh index 3dd44fd1d..9c149290d 100755 --- a/tools/cross/droid/cross-make.sh +++ b/tools/cross/droid/cross-make.sh @@ -1,7 +1,8 @@ #!/bin/sh -x HOST_CC=gcc export HOST_CC -ANDROID_NDK_ROOT=/home/bill/Downloads/android-ndk-r7 +export ANDROID_NDK_ROOT=/home/bill/Downloads/android-ndk-r7 +export ANDROID_SYSROOT=$ANDROID_NDK_ROOT/android-14-toolchain/sysroot export PATH=$ANDROID_NDK_ROOT/android-14-toolchain/bin:$PATH make PAK=pak QFCC=qfcc $*