]> sigrok.org Git - sigrok-util.git/commitdiff
sigrok-native-msys2: Have libsigrok Python bindings use Python 3.
authorUwe Hermann <redacted>
Thu, 11 Jan 2018 22:53:08 +0000 (23:53 +0100)
committerUwe Hermann <redacted>
Thu, 11 Jan 2018 22:53:08 +0000 (23:53 +0100)
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.

cross-compile/msys2/sigrok-native-msys2

index 829b64e1475f1a28bd5dae28dbcf7278422774ac..1e7f9fdfe1b467196da119de282e48b7fd164d96 100755 (executable)
@@ -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