From: Uwe Hermann Date: Mon, 25 Aug 2014 20:43:02 +0000 (+0200) Subject: sigrok-cross-android: Fix build when host Python != 3.3. X-Git-Url: https://sigrok.org/gitweb/?p=sigrok-util.git;a=commitdiff_plain;h=8ea8be54f6e45f2218c6a5885056bac996854928 sigrok-cross-android: Fix build when host Python != 3.3. --- diff --git a/cross-compile/android/sigrok-cross-android b/cross-compile/android/sigrok-cross-android index 93b3871..89359d3 100755 --- a/cross-compile/android/sigrok-cross-android +++ b/cross-compile/android/sigrok-cross-android @@ -90,9 +90,7 @@ tar xJf Python-$VER_PYTHON.tar.xz cd Python-$VER_PYTHON ./configure make python $PARALLEL -make Parser/pgen $PARALLEL mv python hostpython -mv Parser/pgen Parser/hostpgen cd .. # ----------------------------------------------------------------------------- @@ -124,7 +122,7 @@ autoreconf patch -p1 < ../../Python-$VER_PYTHON.patch ac_cv_file__dev_ptmx=no ac_cv_file__dev_ptc=no ac_cv_func_pipe2=no ac_cv_func_fdatasync=no ac_cv_func_killpg=no ac_cv_func_waitid=no ac_cv_func_sigaltstack=no ./configure $C --build=x86_64-linux-gnu --disable-ipv6 sed -i "s/^#zlib/zlib/g" Modules/Setup -make HOSTPYTHON=./hostpython HOSTPGEN=./Parser/hostpgen install $PARALLEL +make PYTHON_FOR_BUILD=./hostpython install $PARALLEL cd .. # libiconv (needed for glib)