summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xmake/core/tool/linker.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/xmake/core/tool/linker.lua b/xmake/core/tool/linker.lua
index 418a150ab..378c20cf6 100644
--- a/xmake/core/tool/linker.lua
+++ b/xmake/core/tool/linker.lua
@@ -363,15 +363,15 @@ function linker:linkflags(target)
-- add flags from the linker
self:_addflags_from_linker(flags)
- -- add links from the configure
- self:_addlinks_from_config(flags)
-
-- add links from the target
self:_addlinks_from_target(flags, target)
-- add flags from the platform
self:_addlinks_from_platform(flags)
+ -- add links from the configure
+ self:_addlinks_from_config(flags)
+
-- remove repeat
flags = table.unique(flags)