diff --git a/.github/workflows/build-ci.yaml b/.github/workflows/build-ci.yaml index 916a30b..bc891e1 100644 --- a/.github/workflows/build-ci.yaml +++ b/.github/workflows/build-ci.yaml @@ -26,11 +26,13 @@ jobs: with: msystem: ucrt64 install: >- + mingw-w64-x86_64-toolchain libiconv-devel cmake gcc ninja pkg-config + - name: build shell: msys2 {0} diff --git a/CMakeLists.txt b/CMakeLists.txt index 32acda6..d3c04e5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -31,7 +31,7 @@ target_include_directories(json PRIVATE target_link_libraries(json PRIVATE jsonParserLib ) - +target_link_libraries(json PRIVATE -static) add_library(cutest cutest/CuTest.h cutest/CuTest.c