diff options
| author | ruki <[email protected]> | 2018-09-18 22:35:28 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2018-09-18 09:32:50 +0800 |
| commit | 5beacb69348c80688db553c0b671c76237866a49 (patch) | |
| tree | 095a0e3e754bab81d5ae1dcb2b1b6dc390ab8d06 /xmake/modules/package | |
| parent | b39865ce22ec806099bd022f47fcb90a4ac42034 (diff) | |
modify debug package path
Diffstat (limited to 'xmake/modules/package')
| -rw-r--r-- | xmake/modules/package/builder/xmake.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/package/builder/xmake.lua b/xmake/modules/package/builder/xmake.lua index 1120d8f00..cc97cac91 100644 --- a/xmake/modules/package/builder/xmake.lua +++ b/xmake/modules/package/builder/xmake.lua @@ -40,7 +40,7 @@ function build(package, configs) table.insert(argv, "--" .. name .. "=" .. value) end end - table.insert(argv, "--mode=" .. (is_mode("debug") and "debug" or "release")) + table.insert(argv, "--mode=" .. (package:debug() and "debug" or "release")) -- inherit require and option configs for name, value in pairs(table.join(package:configs() or {}, configs or {})) do |
