From 7ff0e5bcd9747c121ad7b712a6a3f220c528b474 Mon Sep 17 00:00:00 2001 From: ruki Date: Mon, 7 Nov 2016 22:51:03 +0800 Subject: modify links order --- xmake/core/tool/linker.lua | 6 +++--- 1 file 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) -- cgit v1.3.1