Skip to content

Commit

Permalink
Rollback amalg option for MSVC builds
Browse files Browse the repository at this point in the history
  • Loading branch information
nuoun committed Dec 17, 2024
1 parent 707d670 commit d5d6c60
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion libs/luajitlib/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ On Unix-like platforms (including macOS), the default is to use the `amalg` buil

### Windows + MSVC

luajitlib uses a custom version of the `msvcbuild.bat` script included with LuaJIT to build amalgamated, with static linking using the compiler flag `/MT` instead of `/MD` and without the `/Zi` option to omit debug information. See [here](https://learn.microsoft.com/en-us/cpp/c-runtime-library/crt-library-features?view=msvc-170&viewFallbackFrom=vs-2019) and [here](https://learn.microsoft.com/en-us/cpp/build/reference/z7-zi-zi-debug-information-format?view=msvc-170) for more information.
luajitlib uses a custom version of the `msvcbuild.bat` script included with LuaJIT to build with static linking using the compiler flag `/MT` instead of `/MD` and without the `/Zi` option to omit debug information. See [here](https://learn.microsoft.com/en-us/cpp/c-runtime-library/crt-library-features?view=msvc-170&viewFallbackFrom=vs-2019) and [here](https://learn.microsoft.com/en-us/cpp/build/reference/z7-zi-zi-debug-information-format?view=msvc-170) for more information.

### MinGW

Expand Down
2 changes: 1 addition & 1 deletion libs/luajitlib/build-msvc-luajit.bat
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ xcopy /e /i /h LuaJIT "%SD%\LuaJIT"
copy /y msvcbuild.bat "%SD%\LuaJIT\src\"
cd "%SD%\LuaJIT\src"

call msvcbuild.bat static amalg
call msvcbuild.bat static

copy lua51.lib "%OD%"
echo "%OD%"
Expand Down

0 comments on commit d5d6c60

Please sign in to comment.