Skip to content

Commit 0f3f9eb

Browse files
committed
link missing libs
1 parent 74fa058 commit 0f3f9eb

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66

77
jobs:
88
build:
9-
runs-on: windows-2019
9+
runs-on: windows-latest
1010

1111
steps:
1212
- name: Checkout repository
@@ -15,9 +15,9 @@ jobs:
1515
- name: Build
1616
shell: cmd
1717
run: |
18-
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvars32.bat"
18+
call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars32.bat"
1919
cl -c /GS- /GF /O2 vorbisFile.cpp
20-
link /dll /nodefaultlib /entry:_DllMainCRTStartup@12 vorbisFile.obj Kernel32.lib LIBCMT.LIB
20+
link /dll /nodefaultlib /entry:_DllMainCRTStartup@12 vorbisFile.obj Kernel32.lib LIBCMT.LIB libvcruntime.lib libucrt.lib
2121
2222
- name: Upload artifact
2323
uses: actions/upload-artifact@v4

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77

88
jobs:
99
release:
10-
runs-on: windows-2019
10+
runs-on: windows-latest
1111

1212
steps:
1313
- name: Checkout repository
@@ -16,9 +16,9 @@ jobs:
1616
- name: Build
1717
shell: cmd
1818
run: |
19-
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvars32.bat"
19+
call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars32.bat"
2020
cl -c /GS- /GF /O2 vorbisFile.cpp
21-
link /dll /nodefaultlib /entry:_DllMainCRTStartup@12 vorbisFile.obj Kernel32.lib LIBCMT.LIB
21+
link /dll /nodefaultlib /entry:_DllMainCRTStartup@12 vorbisFile.obj Kernel32.lib LIBCMT.LIB libvcruntime.lib libucrt.lib
2222
2323
- name: Create Release
2424
uses: ncipollo/release-action@main

0 commit comments

Comments
 (0)