diff options
| author | ruki <[email protected]> | 2025-04-23 22:50:52 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2025-04-23 11:30:31 +0800 |
| commit | 09742602185c22140f754e6f734e8bdfc98100df (patch) | |
| tree | 4ea844f1cb00b62c21cce2e8a432f1e32333334b /xmake/rules | |
| parent | cc227f968825b85ea3266a57f1d68709cbb890c7 (diff) | |
rename implib name
Diffstat (limited to 'xmake/rules')
| -rw-r--r-- | xmake/rules/utils/inherit_links/inherit_links.lua | 6 |
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 |
