Skip to content

Commit

Permalink
Fix syslinks error using qt static lib in mingw
Browse files Browse the repository at this point in the history
  • Loading branch information
f11st authored and F11st committed Jun 6, 2024
1 parent 6698066 commit cb68162
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xmake/rules/qt/load.lua
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,7 @@ function main(target, opt)
target:set("syslinks", nil)

-- add qt links and directories
target:add("syslinks", target:values("qt.links"))
local qtprldirs = {}
for _, qt_linkdir in ipairs(target:values("qt.linkdirs")) do
local linkdir = path.join(qt.sdkdir, qt_linkdir)
Expand All @@ -278,7 +279,6 @@ function main(target, opt)
_add_qmakeprllibs(target, prl_file, qt.libdir)
end
end
target:add("syslinks", target:values("qt.links"))

-- backup qt frameworks
local qt_frameworks = target:get("frameworks")
Expand Down

0 comments on commit cb68162

Please sign in to comment.