Skip to content

Commit f2e52b5

Browse files
committed
fix: use correct library on windows
1 parent d47a956 commit f2e52b5

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

.github/workflows/check.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -127,15 +127,15 @@ jobs:
127127
matrix:
128128
os: [ ubuntu-latest, windows-latest, macos-latest ]
129129
lua_version: [ '5.1', '5.2', '5.3', '5.4', 'luajit-2.0', 'luajit-2.1' ]
130-
#exclude:
130+
exclude:
131131
# Currently does not work for LuaJIT on Windows (Lua library not found)
132132
#- os: windows-latest
133133
# lua_version: 'luajit-2.0'
134134
#- os: windows-latest
135135
# lua_version: 'luajit-2.1'
136136
# Currently does not work for LuaJIT 2.0 on macOS (Architecture not supported)
137-
#- os: macos-latest
138-
# lua_version: 'luajit-2.0'
137+
- os: macos-latest
138+
lua_version: 'luajit-2.0'
139139
runs-on: ${{ matrix.os }}
140140

141141
steps:

fensteraudio-dev-1.rockspec

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ external_dependencies = {
3737
},
3838
},
3939
win32 = {
40-
GDI32 = {
41-
library = 'gdi32',
40+
WINMM = {
41+
library = 'winmm',
4242
},
4343
},
4444
},
@@ -70,13 +70,13 @@ build = {
7070
modules = {
7171
fensteraudio = {
7272
libraries = {
73-
'gdi32',
73+
'winmm',
7474
},
7575
incdirs = {
76-
'$(GDI32_INCDIR)',
76+
'$(WINMM_INCDIR)',
7777
},
7878
libdirs = {
79-
'$(GDI32_LIBDIR)',
79+
'$(WINMM_LIBDIR)',
8080
},
8181
},
8282
},

0 commit comments

Comments
 (0)