Skip to content

Commit 0028723

Browse files
committed
Attempt to fix regression where build.mingw.bat seems to link weird/cant find lc library
1 parent 265fd2c commit 0028723

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

build.mingw.bat

+2-3
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,6 @@ setlocal
110110
REM - Basic GCC Setup --------------------------------------------------
111111

112112

113-
REM GCC setup
114113
IF [0] EQU [%debug%] (
115114
set attrib=-std=gnu11 -Wall -O2
116115
set root=%CWD%\bin\Release
@@ -316,9 +315,9 @@ setlocal
316315
setlocal
317316
IF [%1] == [luajit] (
318317
set luaverdef=-DLUA_JIT_51
319-
set luaverout=%dlldir%\libluajit.dll
318+
set luaverout=-lluajit
320319
) ELSE (
321-
set luaverout=%dlldir%\lib%1.dll
320+
set luaverout=-l%1
322321
)
323322

324323
echo Compiling luaw driver package %1...

0 commit comments

Comments
 (0)