Misc (re #1945 and re #1954): Export TARGET_ABI to env var in configure-android script. This var is needed by configure script to generate WebRTC source list for Android when "--use-ndk-cflags" is specified.

git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5499 74dad513-b988-da41-8d7b-12977e46ad98
This commit is contained in:
Nanang Izzuddin 2016-12-16 06:22:31 +00:00
parent d204202e18
commit e4a1091168
1 changed files with 2 additions and 0 deletions

View File

@ -116,6 +116,7 @@ if test "$1" = "--use-ndk-cflags"; then
TARGET_HOST="${TARGET_HOST}-linux-android"
fi
export TARGET_ABI="${TARGET_ABI}"
export CC="${NDK_CC}"
export CXX="${NDK_CXX}"
export AR=`echo ${NDK_CXX}|sed 's/-g++/-ar/'`;
@ -198,6 +199,7 @@ if test "1" = "1"; then
echo " AR = ${AR}"
echo " RANLIB = ${RANLIB}"
echo " TARGET_HOST = ${TARGET_HOST}"
echo " TARGET_ABI = ${TARGET_ABI}"
fi
./configure --host=${TARGET_HOST} $*