summaryrefslogtreecommitdiff
path: root/xmake/rules
diff options
context:
space:
mode:
authorruki <[email protected]>2025-04-23 22:50:52 +0800
committerruki <[email protected]>2025-04-23 11:30:31 +0800
commit09742602185c22140f754e6f734e8bdfc98100df (patch)
tree4ea844f1cb00b62c21cce2e8a432f1e32333334b /xmake/rules
parentcc227f968825b85ea3266a57f1d68709cbb890c7 (diff)
rename implib name
Diffstat (limited to 'xmake/rules')
-rw-r--r--xmake/rules/utils/inherit_links/inherit_links.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/xmake/rules/utils/inherit_links/inherit_links.lua b/xmake/rules/utils/inherit_links/inherit_links.lua
index a9acd3c0e..2208927cd 100644
--- a/xmake/rules/utils/inherit_links/inherit_links.lua
+++ b/xmake/rules/utils/inherit_links/inherit_links.lua
@@ -80,9 +80,9 @@ function main(target)
end
end
- local target_implib = target:artifactfile("implib")
- if target_implib then
- _add_export_value(target, "linkdirs", path.directory(target_implib))
+ local implibfile = target:artifactfile("implib")
+ if implibfile then
+ _add_export_value(target, "linkdirs", path.directory(implibfile))
else
_add_export_value(target, "linkdirs", path.directory(targetfile))
end