From 6c53f44c9a8860a9b7bb25f1c54ddbf8890d9e01 Mon Sep 17 00:00:00 2001 From: Shoop Date: Wed, 14 Feb 2024 14:23:25 -0500 Subject: fix(rockspec): LuaSystem compiles on MinGW (#16) --- luasystem-scm-0.rockspec | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/luasystem-scm-0.rockspec b/luasystem-scm-0.rockspec index 86209a6..ff5af61 100644 --- a/luasystem-scm-0.rockspec +++ b/luasystem-scm-0.rockspec @@ -42,6 +42,13 @@ local function make_platform(plat) win32 = { "advapi32", "winmm" }, mingw32 = { }, } + local libdirs = { + linux = nil, + unix = nil, + macosx = nil, + win32 = nil, + mingw32 = { }, + } return { modules = { ['system.core'] = { @@ -55,6 +62,7 @@ local function make_platform(plat) }, defines = defines[plat], libraries = libraries[plat], + libdirs = libdirs[plat], }, }, } -- cgit v1.2.3-55-g6feb