Can we vendor statically linked Lua for Windows? #5798
Unanswered
0riginaln0
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Are there any reasons why we don't do static Lua in Windows?
A quick guide on how to do this, for those looking for:
cd C:\path\to\lua-5.4.8\srccl /c /O2 /W3 /D_CRT_SECURE_NO_WARNINGS /DLUA_BUILD_AS_DLL *.clib /OUT:lua54.lib *.objlua54.libinto vendorlua/5.4/windows, adjust the path for foreign import:foreign import lib "windows/lua54.lib"inlua.odinOdin/vendor/lua/5.4/lua.odin
Line 24 in de82f11
Beta Was this translation helpful? Give feedback.
All reactions