diff options
author | Shoop <jamesramsauer@gmail.com> | 2024-02-14 14:23:25 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-14 20:23:25 +0100 |
commit | 6c53f44c9a8860a9b7bb25f1c54ddbf8890d9e01 (patch) | |
tree | 3ac746212861063b329ecdd3170a039b00133b43 | |
parent | f4e92f6291617cd989126510a7dc653e8cf28799 (diff) | |
download | luasystem-6c53f44c9a8860a9b7bb25f1c54ddbf8890d9e01.zip |
fix(rockspec): LuaSystem compiles on MinGW (#16)
-rw-r--r-- | luasystem-scm-0.rockspec | 8 |
1 files changed, 8 insertions, 0 deletions
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], }, }, } |