shithub: m8c

Download patch

ref: 00044371e87609ab1b61b0e2e4dde5197d2c0bdf
parent: fa044685c437e97e846b59681abd1933b35a456e
author: Jonne Kokkonen <jonne.kokkonen@gmail.com>
date: Sun Feb 23 09:49:15 EST 2025

Fix win32 build (#181)

* build libserialport manually on both win32 and win64

--- a/.github/workflows/build-windows.yml
+++ b/.github/workflows/build-windows.yml
@@ -36,8 +36,19 @@
       with:
         msystem: ${{ matrix.sys }}
         update: true
-        install: mingw-w64-${{ matrix.env }}-toolchain make mingw-w64-${{ matrix.env }}-SDL2 mingw-w64-${{ matrix.env }}-libserialport zip dos2unix
-  
+        install: mingw-w64-${{ matrix.env }}-toolchain make mingw-w64-${{ matrix.env }}-SDL2 zip dos2unix autoconf automake-wrapper libtool make unzip
+
+    - name: 'Build libserialport manually'
+      run: |
+        wget https://github.com/sigrokproject/libserialport/archive/refs/heads/master.zip
+        unzip master.zip
+        pushd libserialport-master
+        ./autogen.sh
+        ./configure
+        make
+        make install
+        popd
+
     - name: Set current date as env variable
       run: echo "NOW=$(date +'%Y-%m-%d')" >> $GITHUB_ENV
 
@@ -83,4 +94,4 @@
           gamecontrollerdb.txt
           LICENSE
           README.md
-          AUDIOGUIDE.md
\ No newline at end of file
+          AUDIOGUIDE.md
--