diff options
Diffstat (limited to 'xmake/rules/utils')
| -rw-r--r-- | xmake/rules/utils/inherit_links/inherit_links.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/rules/utils/inherit_links/inherit_links.lua b/xmake/rules/utils/inherit_links/inherit_links.lua index 2a130aac0..f127481e8 100644 --- a/xmake/rules/utils/inherit_links/inherit_links.lua +++ b/xmake/rules/utils/inherit_links/inherit_links.lua @@ -40,7 +40,7 @@ function main(target) local targetfile = target:targetfile() -- we need move target link to head - target:add("links", target:basename(), {interface = true}) + target:add("links", target:linkname(), {interface = true}) local links = target:get("links", {rawref = true}) if links and type(links) == "table" and #links > 1 then table.swap(links, 1, #links) |
