summarylogtreecommitdiffstats
path: root/android-cmake-py.sh
blob: b151d9e42f3d6bc9716ee11fb7f0fdd0b5eda73b (plain)
1
2
3
4
5
6
7
8
9
#!/bin/sh

source android-env @TRIPLE@

android-@TRIPLE@-cmake \
    -DPYTHON_INCLUDE_DIR=${ANDROID_PREFIX_INCLUDE}/python@PYMAJMIN@ \
    -DPYTHON_LIBRARY=${ANDROID_PREFIX_LIB}/libpython@PYMAJMIN@.a \
    -DPYTHON_EXECUTABLE=/usr/bin/android-@TRIPLE@-python@PYMAJMIN@-bin \
    "$@"