summaryrefslogtreecommitdiff
path: root/luasystem-scm-0.rockspec
diff options
context:
space:
mode:
authorThijs Schreijer <thijs@thijsschreijer.nl>2023-11-09 23:03:21 +0100
committerThijs Schreijer <thijs@thijsschreijer.nl>2023-11-15 19:17:57 +0100
commitd45768de3e6f7b28bfecf4d19b192ccac9ce5dc2 (patch)
tree2d4f86ec87eb87a77f6663924aaaa9286756ce3e /luasystem-scm-0.rockspec
parentd4222ce6da2a2d7179fc79f9d0cc65fd6c09a686 (diff)
downloadluasystem-d45768de3e6f7b28bfecf4d19b192ccac9ce5dc2.zip
feat(*): add environment variable and random functions
Diffstat (limited to 'luasystem-scm-0.rockspec')
-rw-r--r--luasystem-scm-0.rockspec6
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
source = {
url = "git+https://github.com/"..github_account_name.."/"..github_repo_name..".git",
branch = (package_version == "scm") and "master" or nil,
- tag = (package_version ~= "scm") and package_version or nil,
+ tag = (package_version ~= "scm") and "v"..package_version or nil,
}
description = {
@@ -39,13 +39,13 @@ local function make_platform(plat)
linux = { "rt" },
unix = { },
macosx = { },
- win32 = { },
+ win32 = { "advapi32", "winmm" },
mingw32 = { },
}
return {
modules = {
['system.core'] = {
- sources = { 'src/core.c', 'src/compat.c', 'src/time.c', },
+ sources = { 'src/core.c', 'src/compat.c', 'src/time.c', 'src/environment.c', 'src/random.c' },
defines = defines[plat],
libraries = libraries[plat],
},