From: Uwe Hermann Date: Thu, 11 Jan 2018 22:53:08 +0000 (+0100) Subject: sigrok-native-msys2: Have libsigrok Python bindings use Python 3. X-Git-Url: https://sigrok.org/gitweb/?p=sigrok-util.git;a=commitdiff_plain;h=a4846659556372bb820f1b9354c9b8ef2fb62e83 sigrok-native-msys2: Have libsigrok Python bindings use Python 3. We're installing Python 3 versions of setuptools and numpy using this script's "prepare" option, so force the build to use those (otherwise it'll search for the Python 2 versions and won't find them). Note: The Python bindings build still remains off (--disable-python) since there are issues there that need to be investigated. --- diff --git a/cross-compile/msys2/sigrok-native-msys2 b/cross-compile/msys2/sigrok-native-msys2 index 829b64e..1e7f9fd 100755 --- a/cross-compile/msys2/sigrok-native-msys2 +++ b/cross-compile/msys2/sigrok-native-msys2 @@ -107,7 +107,7 @@ cd libsigrok ./autogen.sh mkdir build cd build -PKG_CONFIG_PATH=$P ../configure $C $L --disable-python +PKG_CONFIG_PATH=$P PYTHON=python3 ../configure $C $L --disable-python $SB make $PARALLEL $V PYTHONPATH=$PYPATH $SB make install $V # $SB make check $V # TODO