summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2023-10-27 23:05:46 +0800
committerruki <[email protected]>2023-10-27 23:05:46 +0800
commit22fcc094b0a56e4cbc023fc6d4726eae72e312f0 (patch)
treec091de32ff89fd450f75da37c1ac0cb9ec460f0a
parentd8e07da33af8f419c989adaec6ccf4d01550a088 (diff)
fix sort links
-rw-r--r--xmake/languages/c++/xmake.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/languages/c++/xmake.lua b/xmake/languages/c++/xmake.lua
index a6e497cc4..22a69a417 100644
--- a/xmake/languages/c++/xmake.lua
+++ b/xmake/languages/c++/xmake.lua
@@ -74,8 +74,8 @@ language("c++")
, "toolchain.rpathdirs"
, "toolchain.frameworkdirs"
, "config.links"
+ , "target.linkgroups" -- we must move it before target.links, because we need sort correct order for package and its deps
, "target.links"
- , "target.linkgroups"
, "toolchain.links"
, "config.frameworks"
, "target.frameworks"