+ CPPFLAGS+=" -I$TERMUX_PREFIX/include/python3.6m"
+ LDFLAGS+=" -lpython3.6m"
+}
+
+termux_step_post_configure() {
+ # Enable python support manually, as trying to go using --enable-python-plugins
+ # causes configure trying to execut python:
+ echo '#define HAVE_PYTHON 1' >> $TERMUX_PKG_SRCDIR/src/config.h
+ perl -p -i -e 's|#am__objects_2|am__objects_2|' $TERMUX_PKG_SRCDIR/Makefile