diff options
Diffstat (limited to 'xmake/modules/package/tools/make.lua')
| -rw-r--r-- | xmake/modules/package/tools/make.lua | 3 |
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} |
