android-ndk

Running python interpreter in shell from a make file

Running python interpreter in shell from a make file Question: I want to call a python interpreter in a shell, from an android make file. Initially I tried this: $(shell python -c "import sys;print(‘hello’)") The result is an error: Android.mk:150: *** missing separator. Stop. I suspect this is caused by ndk-build misinterpreting nested quotes. I …

Total answers: 1