Skip to content

Commit

Permalink
Merge pull request #1576 from mcuee/mingw_readline_test
Browse files Browse the repository at this point in the history
Add GNU readline to mingw github action
  • Loading branch information
stefanrueger authored Nov 22, 2023
2 parents 6df3f98 + c4b5097 commit bf1aa2b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,9 @@ jobs:
mingw-w64-${{matrix.env}}-hidapi
mingw-w64-${{matrix.env}}-libftdi
mingw-w64-${{matrix.env}}-libserialport
mingw-w64-${{matrix.env}}-readline
mingw-w64-${{matrix.env}}-ncurses
mingw-w64-${{matrix.env}}-termcap
- name: Configure
run: >-
cmake
Expand Down
4 changes: 4 additions & 0 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -311,6 +311,10 @@ add_executable(avrdude

target_link_libraries(avrdude PUBLIC libavrdude)

if(MINGW)
target_link_options(avrdude PRIVATE -static)
endif()

# =====================================
# Install
# =====================================
Expand Down

0 comments on commit bf1aa2b

Please sign in to comment.