]> sigrok.org Git - sigrok-util.git/blobdiff - cross-compile/msys2/sigrok-native-msys2
sigrok-native-msys2: Have libsigrok Python bindings use Python 3.
[sigrok-util.git] / cross-compile / msys2 / sigrok-native-msys2
index 4d2ad5f752e6f7670b71a68b795cb8e7b32fd184..1e7f9fdfe1b467196da119de282e48b7fd164d96 100755 (executable)
@@ -71,10 +71,10 @@ if [ "x$1" = "xprepare" ]; then
   # Update package list, install/update all requirements.
   pacman -Sy
   pacman -S \
-       autoconf automake libtool make pkg-config wget patch \
-       $W-toolchain $W-glib2 $W-glibmm $W-libusb $W-check $W-boost \
+       autoconf automake autoconf-archive libtool make pkg-config wget patch \
+       $W-toolchain $W-glib2 $W-glibmm $W-libusb $W-libfdi $W-check $W-boost \
        $W-libzip $W-doxygen $W-python3 $W-python3-numpy $W-python3-gobject \
-       $W-python3-setuptools $W-swig $W-qt5-static $W-cmake
+       $W-python3-setuptools $W-swig $W-qt5-static $W-cmake $W-nsis
   exit
 fi
 
@@ -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