From c49dc04dc29eb2f922b9ec0837dfbc3cabf7dd37 Mon Sep 17 00:00:00 2001 From: mcuee Date: Mon, 24 Oct 2022 21:06:16 +0800 Subject: [PATCH] Add readline and shared build for mingw 1) Add readline dependancy 2) Use dynamic link in order to avoid readline MSYS2 issue --- .github/workflows/build.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2ac4313c0..9ccefe894 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -266,12 +266,14 @@ jobs: mingw-w64-${{matrix.env}}-libusb-compat-git mingw-w64-${{matrix.env}}-hidapi mingw-w64-${{matrix.env}}-libftdi + mingw-w64-${{matrix.env}}-readline - name: Configure run: >- cmake -G"MSYS Makefiles" -D DEBUG_CMAKE=1 -D CMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} + -D USE_STATIC_LIBS=OFF -B build - name: Build run: cmake --build build