File tree 11 files changed +11
-10
lines changed
11 files changed +11
-10
lines changed Original file line number Diff line number Diff line change @@ -54,6 +54,7 @@ JNI_PATH="$SRC_PATH/jni"
54
54
DIST_PATH=" $ROOT_PATH /dist/default"
55
55
SITEPACKAGES_PATH=" $BUILD_PATH /python-install/lib/python2.7/site-packages/"
56
56
HOSTPYTHON=" $BUILD_PATH /python-install/bin/python.host"
57
+ CYTHON=" cython -t"
57
58
58
59
# Tools
59
60
export LIBLINK_PATH=" $BUILD_PATH /objects"
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ function build_android() {
36
36
export LDSHARED=" $LIBLINK "
37
37
38
38
# cythonize
39
- try find . -iname ' *.pyx' -exec cython {} \;
39
+ try find . -iname ' *.pyx' -exec $CYTHON {} \;
40
40
try $HOSTPYTHON setup.py build_ext -v
41
41
try $HOSTPYTHON setup.py install -O2
42
42
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ function build_audiostream() {
29
29
export AUDIOSTREAM_ROOT=" $BUILD_audiostream /build/audiostream/armeabi-v7a"
30
30
try cd $BUILD_audiostream
31
31
$HOSTPYTHON setup.py build_ext & > /dev/null
32
- try find . -iname ' *.pyx' -exec cython {} \;
32
+ try find . -iname ' *.pyx' -exec $CYTHON {} \;
33
33
try $HOSTPYTHON setup.py build_ext -v
34
34
try $HOSTPYTHON setup.py install -O2
35
35
try cp -a audiostream/platform/android/org $JAVACLASS_PATH
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ function build_cymunk() {
24
24
25
25
export LDSHARED=" $LIBLINK "
26
26
27
- try find . -iname ' *.pyx' -exec cython {} \;
27
+ try find . -iname ' *.pyx' -exec $CYTHON {} \;
28
28
try $HOSTPYTHON setup.py build_ext -v
29
29
try find build/lib.* -name " *.o" -exec $STRIP {} \;
30
30
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ function build_docutils() {
27
27
28
28
# fake try to be able to cythonize generated files
29
29
$HOSTPYTHON setup.py build_ext
30
- try find . -iname ' *.pyx' -exec cython {} \;
30
+ try find . -iname ' *.pyx' -exec $CYTHON {} \;
31
31
try $HOSTPYTHON setup.py build_ext -v
32
32
try $HOSTPYTHON setup.py install -O2
33
33
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ function build_ffmpeg() {
39
39
export LDFLAGS=" $LDFLAGS -lm -L$LIBS_PATH "
40
40
export FFMPEG_ROOT=" $BUILD_ffmpeg /build/ffmpeg/armeabi-v7a"
41
41
try cd $BUILD_ffmpeg /python
42
- try find . -iname ' *.pyx' -exec cython {} \;
42
+ try find . -iname ' *.pyx' -exec $CYTHON {} \;
43
43
try $HOSTPYTHON setup.py build_ext -v
44
44
try $HOSTPYTHON setup.py install -O2
45
45
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ function build_kivy() {
27
27
28
28
# fake try to be able to cythonize generated files
29
29
$HOSTPYTHON setup.py build_ext
30
- try find . -iname ' *.pyx' -exec cython {} \;
30
+ try find . -iname ' *.pyx' -exec $CYTHON {} \;
31
31
try $HOSTPYTHON setup.py build_ext -v
32
32
try find build/lib.* -name " *.o" -exec $STRIP {} \;
33
33
try $HOSTPYTHON setup.py install -O2
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ function build_lxml() {
30
30
export PATH=$PATH :$BUILD_libxslt
31
31
32
32
try $HOSTPYTHON setup.py build_ext -I$BUILD_libxml2 /include -I$BUILD_libxslt
33
- try find . -iname ' *.pyx' -exec cython {} \;
33
+ try find . -iname ' *.pyx' -exec $CYTHON {} \;
34
34
try $HOSTPYTHON setup.py build_ext -v
35
35
try find build/lib.* -name " *.o" -exec $STRIP {} \;
36
36
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ function build_msgpack() {
24
24
25
25
# fake try to be able to cythonize generated files
26
26
$HOSTPYTHON setup.py build_ext
27
- try find . -iname ' *.pyx' -exec cython {} \;
27
+ try find . -iname ' *.pyx' -exec $CYTHON {} \;
28
28
try $HOSTPYTHON setup.py build_ext -v
29
29
30
30
try find build/lib.* -name " *.o" -exec $STRIP {} \;
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ function build_pyjnius() {
27
27
28
28
# fake try to be able to cythonize generated files
29
29
$HOSTPYTHON setup.py build_ext
30
- try find . -iname ' *.pyx' -exec cython {} \;
30
+ try find . -iname ' *.pyx' -exec $CYTHON {} \;
31
31
try $HOSTPYTHON setup.py build_ext -v
32
32
try find build/lib.* -name " *.o" -exec $STRIP {} \;
33
33
try $HOSTPYTHON setup.py install -O2
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ function build_twisted() {
29
29
30
30
# fake try to be able to cythonize generated files
31
31
$HOSTPYTHON setup.py build_ext
32
- try find . -iname ' *.pyx' -exec cython {} \;
32
+ try find . -iname ' *.pyx' -exec $CYTHON {} \;
33
33
try $HOSTPYTHON setup.py build_ext -v
34
34
try find build/lib.* -name " *.o" -exec $STRIP {} \;
35
35
You can’t perform that action at this time.
0 commit comments