diff options
author | Thijs Schreijer <thijs@thijsschreijer.nl> | 2023-11-09 23:03:21 +0100 |
---|---|---|
committer | Thijs Schreijer <thijs@thijsschreijer.nl> | 2023-11-15 19:17:57 +0100 |
commit | d45768de3e6f7b28bfecf4d19b192ccac9ce5dc2 (patch) | |
tree | 2d4f86ec87eb87a77f6663924aaaa9286756ce3e /luasystem-scm-0.rockspec | |
parent | d4222ce6da2a2d7179fc79f9d0cc65fd6c09a686 (diff) | |
download | luasystem-d45768de3e6f7b28bfecf4d19b192ccac9ce5dc2.tar.gz luasystem-d45768de3e6f7b28bfecf4d19b192ccac9ce5dc2.tar.bz2 luasystem-d45768de3e6f7b28bfecf4d19b192ccac9ce5dc2.zip |
feat(*): add environment variable and random functions
Diffstat (limited to 'luasystem-scm-0.rockspec')
-rw-r--r-- | luasystem-scm-0.rockspec | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/luasystem-scm-0.rockspec b/luasystem-scm-0.rockspec index 74e301d..96f10ae 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,13 @@ 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 = { 'src/core.c', 'src/compat.c', 'src/time.c', 'src/environment.c', 'src/random.c' }, |
49 | defines = defines[plat], | 49 | defines = defines[plat], |
50 | libraries = libraries[plat], | 50 | libraries = libraries[plat], |
51 | }, | 51 | }, |