From a88d4dc9322430377ce6ff8b0e2e0ff3fa1eda92 Mon Sep 17 00:00:00 2001 From: carols Date: Mon, 6 Apr 2020 22:07:15 +0800 Subject: fix linux link suffix for qt --- xmake/rules/qt/load.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xmake/rules/qt/load.lua b/xmake/rules/qt/load.lua index cfc297cfa..06a33fede 100644 --- a/xmake/rules/qt/load.lua +++ b/xmake/rules/qt/load.lua @@ -30,7 +30,7 @@ function _link(framework, major) debug_suffix = "d" elseif is_plat("mingw") then debug_suffix = "d" - elseif is_plat("android") then + elseif is_plat("android") or is_plat("linux") then debug_suffix = "" end framework = "Qt" .. major .. framework:sub(3) .. (is_mode("debug") and debug_suffix or "") @@ -46,7 +46,7 @@ function _find_static_links_3rd(linkdirs, major, libpattern) debug_suffix = "d" elseif is_plat("mingw") then debug_suffix = "d" - elseif is_plat("android") then + elseif is_plat("android") or is_plat("linux") then debug_suffix = "" end for _, linkdir in ipairs(linkdirs) do -- cgit v1.3.1