aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShoop <jamesramsauer@gmail.com>2024-02-14 14:23:25 -0500
committerGitHub <noreply@github.com>2024-02-14 20:23:25 +0100
commit6c53f44c9a8860a9b7bb25f1c54ddbf8890d9e01 (patch)
tree3ac746212861063b329ecdd3170a039b00133b43
parentf4e92f6291617cd989126510a7dc653e8cf28799 (diff)
downloadluasystem-6c53f44c9a8860a9b7bb25f1c54ddbf8890d9e01.tar.gz
luasystem-6c53f44c9a8860a9b7bb25f1c54ddbf8890d9e01.tar.bz2
luasystem-6c53f44c9a8860a9b7bb25f1c54ddbf8890d9e01.zip
fix(rockspec): LuaSystem compiles on MinGW (#16)
-rw-r--r--luasystem-scm-0.rockspec8
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)
42 win32 = { "advapi32", "winmm" }, 42 win32 = { "advapi32", "winmm" },
43 mingw32 = { }, 43 mingw32 = { },
44 } 44 }
45 local libdirs = {
46 linux = nil,
47 unix = nil,
48 macosx = nil,
49 win32 = nil,
50 mingw32 = { },
51 }
45 return { 52 return {
46 modules = { 53 modules = {
47 ['system.core'] = { 54 ['system.core'] = {
@@ -55,6 +62,7 @@ local function make_platform(plat)
55 }, 62 },
56 defines = defines[plat], 63 defines = defines[plat],
57 libraries = libraries[plat], 64 libraries = libraries[plat],
65 libdirs = libdirs[plat],
58 }, 66 },
59 }, 67 },
60 } 68 }