From 09742602185c22140f754e6f734e8bdfc98100df Mon Sep 17 00:00:00 2001 From: ruki Date: Wed, 23 Apr 2025 22:50:52 +0800 Subject: rename implib name --- xmake/plugins/pack/batchcmds.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'xmake/plugins/pack/batchcmds.lua') 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) -- cgit v1.3.1