From 0008aa12a73d80f321a385e019723f7a5a7cbe90 Mon Sep 17 00:00:00 2001 From: analyman Date: Sat, 25 Sep 2021 20:03:37 +0800 Subject: [PATCH 1/2] fix a typo 'platfrom => platform' --- main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.js b/main.js index e4f2e4d..3671066 100644 --- a/main.js +++ b/main.js @@ -106,7 +106,7 @@ function getLuaVersion() { } function getPlatform() { - const platform = core.getInput('platfrom', { required: false }); + const platform = core.getInput('platform', { required: false }); return platform || false; } From a2fa15d5f1ec6823d7bf9ef619ac80cbd79c7b9d Mon Sep 17 00:00:00 2001 From: analyman Date: Sat, 25 Sep 2021 22:53:47 +0800 Subject: [PATCH 2/2] enable loading dynamic library in windows --- patch/lua/5.3/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/patch/lua/5.3/CMakeLists.txt b/patch/lua/5.3/CMakeLists.txt index 801e07b..8ae6743 100644 --- a/patch/lua/5.3/CMakeLists.txt +++ b/patch/lua/5.3/CMakeLists.txt @@ -40,6 +40,7 @@ set ( LUA_CPATH_DEFAULT "./?${LUA_MODULE_SUFFIX};${LUA_DIR}${LUA_CDIR}/?${LUA_MO if ( WIN32 AND NOT CYGWIN ) # Windows systems option ( LUA_USE_WINDOWS "Windows specific build." ON ) + option ( LUA_DL_DLL "Load dynamic library" ON ) option ( LUA_BUILD_WLUA "Build wLua interpretter without console output." ON ) option ( LUA_BUILD_AS_DLL "Build Lua library as Dll." ${BUILD_SHARED_LIBS} )