diff options
Diffstat (limited to 'luasystem-scm-0.rockspec')
-rw-r--r-- | luasystem-scm-0.rockspec | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/luasystem-scm-0.rockspec b/luasystem-scm-0.rockspec index 74e301d..86209a6 100644 --- a/luasystem-scm-0.rockspec +++ b/luasystem-scm-0.rockspec | |||
@@ -11,7 +11,7 @@ version = package_version.."-"..rockspec_revision | |||
11 | source = { | 11 | source = { |
12 | url = "git+https://github.com/"..github_account_name.."/"..github_repo_name..".git", | 12 | url = "git+https://github.com/"..github_account_name.."/"..github_repo_name..".git", |
13 | branch = (package_version == "scm") and "master" or nil, | 13 | branch = (package_version == "scm") and "master" or nil, |
14 | tag = (package_version ~= "scm") and package_version or nil, | 14 | tag = (package_version ~= "scm") and "v"..package_version or nil, |
15 | } | 15 | } |
16 | 16 | ||
17 | description = { | 17 | description = { |
@@ -39,13 +39,20 @@ local function make_platform(plat) | |||
39 | linux = { "rt" }, | 39 | linux = { "rt" }, |
40 | unix = { }, | 40 | unix = { }, |
41 | macosx = { }, | 41 | macosx = { }, |
42 | win32 = { }, | 42 | win32 = { "advapi32", "winmm" }, |
43 | mingw32 = { }, | 43 | mingw32 = { }, |
44 | } | 44 | } |
45 | return { | 45 | return { |
46 | modules = { | 46 | modules = { |
47 | ['system.core'] = { | 47 | ['system.core'] = { |
48 | sources = { 'src/core.c', 'src/compat.c', 'src/time.c', }, | 48 | sources = { |
49 | 'src/core.c', | ||
50 | 'src/compat.c', | ||
51 | 'src/time.c', | ||
52 | 'src/environment.c', | ||
53 | 'src/random.c', | ||
54 | 'src/term.c', | ||
55 | }, | ||
49 | defines = defines[plat], | 56 | defines = defines[plat], |
50 | libraries = libraries[plat], | 57 | libraries = libraries[plat], |
51 | }, | 58 | }, |