try forcing python2.7 org.adblockplus.android
This commit is contained in:
parent
882dadb62f
commit
139e726452
|
@ -24,6 +24,7 @@ Repo:https://hg.adblockplus.org/adblockplusandroid
|
||||||
Build Version:1.0.1,168,1.0.1,srclibs=RootTools@211,\
|
Build Version:1.0.1,168,1.0.1,srclibs=RootTools@211,\
|
||||||
init=rm -rf iptables/ libs/RootTools-1.7.jar build.xml && \
|
init=rm -rf iptables/ libs/RootTools-1.7.jar build.xml && \
|
||||||
git clone https://android.googlesource.com/platform/external/iptables,prebuild=\
|
git clone https://android.googlesource.com/platform/external/iptables,prebuild=\
|
||||||
|
sed -i 's/python extensions\/fixinit.py/python2.7 extensions\/fixinit.py/g' iptables.patch && \
|
||||||
echo "source.dir=src;$$RootTools$$/src" >> ant.properties && cd iptables && \
|
echo "source.dir=src;$$RootTools$$/src" >> ant.properties && cd iptables && \
|
||||||
git apply ../iptables.patch && sed -i 's@ndk-build@$$NDK$$/ndk-build@g' Makefile && \
|
git apply ../iptables.patch && sed -i 's@ndk-build@$$NDK$$/ndk-build@g' Makefile && \
|
||||||
make all && mv libs/armeabi/iptables ../assets/install/,buildjni=yes
|
make all && mv libs/armeabi/iptables ../assets/install/,buildjni=yes
|
||||||
|
|
Loading…
Reference in a new issue