summaryrefslogtreecommitdiff
path: root/xmake/modules/package/tools/make.lua
diff options
context:
space:
mode:
authorArthur LAURENT <[email protected]>2024-04-10 16:01:04 +0200
committerArthur LAURENT <[email protected]>2024-04-10 16:01:26 +0200
commit546dd2ee7ec2a4bae9b8a866300313bad9bb8c7a (patch)
tree29698ae0c51c99ad985c83393ab1035c461fe296 /xmake/modules/package/tools/make.lua
parent5a29f4cd631037145d74ad67227c5486c9a08247 (diff)
use package:runtimes instead of package:config("runtimes")
Diffstat (limited to 'xmake/modules/package/tools/make.lua')
-rw-r--r--xmake/modules/package/tools/make.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/xmake/modules/package/tools/make.lua b/xmake/modules/package/tools/make.lua
index a69e738fd..bb7a8124f 100644
--- a/xmake/modules/package/tools/make.lua
+++ b/xmake/modules/package/tools/make.lua
@@ -49,8 +49,7 @@ function buildenvs(package)
local asflags = table.copy(table.wrap(package:config("asflags")))
local ldflags = table.copy(table.wrap(package:config("ldflags")))
local shflags = table.copy(table.wrap(package:config("shflags")))
- local runtimes = package:config("runtimes")
- local runtimes = package:config("runtimes")
+ local runtimes = package:runtimes()
if runtimes then
local fake_target = {is_shared = function(_) return false end,
sourcekinds = function(_) return "cxx" end}