summarylogtreecommitdiffstats
path: root/android-configure.sh
blob: a6084317966a5850ef2ca78ed2409860040b6d9c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh

source android-env @TRIPLE@

target=@TRIPLE@
target=${target/x86-/x86_}-linux-android

./configure \
    --host=${target} \
    --target=${target} \
    --build=${CHOST} \
    --prefix=${ANDROID_PREFIX} \
    --libdir=${ANDROID_PREFIX_LIB} \
    --includedir=${ANDROID_PREFIX_INCLUDE} \
    --enable-shared \
    --enable-static \
    "$@"