feat: staticlly link libc
This commit is contained in:
parent
a54f25eea3
commit
3b274edd2e
|
@ -28,6 +28,9 @@ jobs:
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: cmake --build ${{ env.BUILD_PATH }} -j 4
|
run: cmake --build ${{ env.BUILD_PATH }} -j 4
|
||||||
|
|
||||||
|
- name: Strip
|
||||||
|
run: strip ${{ env.BUILD_PATH }}/ncmdump.exe
|
||||||
|
|
||||||
- name: Upload artifact
|
- name: Upload artifact
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
|
|
|
@ -24,7 +24,7 @@ target_include_directories(ncmdump PRIVATE taglib/taglib/mpeg/id3v2)
|
||||||
|
|
||||||
if(WIN32)
|
if(WIN32)
|
||||||
if(CMAKE_COMPILER_IS_GNUCXX)
|
if(CMAKE_COMPILER_IS_GNUCXX)
|
||||||
target_link_options(ncmdump PRIVATE -municode)
|
target_link_options(ncmdump PRIVATE -municode -static)
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue