fix luajit patch

This commit is contained in:
Kalessin 2017-07-23 20:43:57 +02:00
parent e8f681855c
commit 349fba17c7

View File

@ -1,8 +1,8 @@
diff --git a/src/msvcbuild.bat b/src/msvcbuild.bat
index bd0c4c5..1210fd2 100644
index bd0c4c5..95e1cf4 100644
--- a/src/msvcbuild.bat
+++ b/src/msvcbuild.bat
@@ -67,6 +67,7 @@ buildvm -m folddef -o lj_folddef.h lj_opt_fold.c
@@ -67,15 +67,20 @@ buildvm -m folddef -o lj_folddef.h lj_opt_fold.c
@shift
@set LJCOMPILE=%LJCOMPILE% /Zi
@set LJLINK=%LJLINK% /debug
@ -23,4 +23,4 @@ index bd0c4c5..1210fd2 100644
+@if "%DEBUG%"=="" set LJCOMPILE=%LJCOMPILE% /MT
%LJCOMPILE% lj_*.c lib_*.c
@if errorlevel 1 goto :BAD
%LJLIB% /OUT:%LJLIBNAME% lj_*.obj lib_*.obj
%LJLIB% /OUT:%LJLIBNAME% lj_*.obj lib_*.obj