diff options
| author | ruki <[email protected]> | 2021-03-12 00:49:30 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2021-03-12 00:49:30 +0800 |
| commit | 70c4665832899710ca30d7147cb890198ddf8c51 (patch) | |
| tree | cc81b58a2b8f5381690b5ec97dd84dd324086321 /xmake/modules/package/tools/xmake.lua | |
| parent | 7669d341148455b387f4502c0c245f8c73d6b840 (diff) | |
rename to is_debug
Diffstat (limited to 'xmake/modules/package/tools/xmake.lua')
| -rw-r--r-- | xmake/modules/package/tools/xmake.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/package/tools/xmake.lua b/xmake/modules/package/tools/xmake.lua index e67952b52..efe5e4f09 100644 --- a/xmake/modules/package/tools/xmake.lua +++ b/xmake/modules/package/tools/xmake.lua @@ -45,7 +45,7 @@ function _get_configs(package, configs) local ldflags = table.join(table.wrap(package:config("ldflags")), get_config("ldflags")) table.insert(configs, "--plat=" .. package:plat()) table.insert(configs, "--arch=" .. package:arch()) - table.insert(configs, "--mode=" .. (package:debug() and "debug" or "release")) + table.insert(configs, "--mode=" .. (package:is_debug() and "debug" or "release")) if package:is_plat("windows") then local vs_runtime = package:config("vs_runtime") if vs_runtime then |
