diff options
| author | ruki <[email protected]> | 2020-03-11 14:25:14 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-03-11 14:25:14 +0800 |
| commit | 17e8c4a42036f20edba661dc052da9cafc0a59e2 (patch) | |
| tree | 27b9b13255d9465df31b44fefe066e43e1531ffb | |
| parent | 6bad4b9374bab62afcaaa55f53c5f047e274a286 (diff) | |
| parent | 3b0f6e396c4a1d53b1b046c416681da6229fbdce (diff) | |
Merge pull request #703 from conlay-cn/master
fix mingw link to Qt library by mode debug
| -rw-r--r-- | xmake/rules/qt/load.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/xmake/rules/qt/load.lua b/xmake/rules/qt/load.lua index 23bc95090..2dfda2200 100644 --- a/xmake/rules/qt/load.lua +++ b/xmake/rules/qt/load.lua @@ -28,6 +28,8 @@ function _link(framework, major) local debug_suffix = "_debug" if is_plat("windows") then debug_suffix = "d" + elseif is_plat("mingw") then + debug_suffix = "d" elseif is_plat("android") then debug_suffix = "" end @@ -42,6 +44,8 @@ function _find_static_links(linkdirs, libpattern) local debug_suffix = "_debug" if is_plat("windows") then debug_suffix = "d" + elseif is_plat("mingw") then + debug_suffix = "d" elseif is_plat("android") then debug_suffix = "" end |
