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/plugins/pack/batchcmds.lua | |
| parent | cc227f968825b85ea3266a57f1d68709cbb890c7 (diff) | |
rename implib name
Diffstat (limited to 'xmake/plugins/pack/batchcmds.lua')
| -rw-r--r-- | xmake/plugins/pack/batchcmds.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xmake/plugins/pack/batchcmds.lua b/xmake/plugins/pack/batchcmds.lua index d933a3372..7e7313abe 100644 --- a/xmake/plugins/pack/batchcmds.lua +++ b/xmake/plugins/pack/batchcmds.lua @@ -303,10 +303,10 @@ function _on_target_installcmd_shared(target, batchcmds_, opt) -- install *.lib for shared/windows (*.dll) target -- @see https://github.com/xmake-io/xmake/issues/714 - local target_implib = target:artifactfile("implib") - if target_implib and os.isfile(target_implib) then + local implibfile = target:artifactfile("implib") + if implibfile and os.isfile(implibfile) then batchcmds_:mkdir(libdir) - batchcmds_:cp(target_implib, path.join(libdir, path.filename(target_implib))) + batchcmds_:cp(implibfile, path.join(libdir, path.filename(implibfile))) end _install_target_headers(target, batchcmds_, opt) |
