summaryrefslogtreecommitdiff
path: root/xmake/plugins/pack/batchcmds.lua
diff options
context:
space:
mode:
authorSineStriker <[email protected]>2025-04-21 23:37:35 +0800
committerruki <[email protected]>2025-04-23 11:30:30 +0800
commit1beccbbd6b5d9472c786837f2e53c8721adc48f1 (patch)
treea36f8ae478483ca7b612a3da49a34b16fdf2cd89 /xmake/plugins/pack/batchcmds.lua
parente16400105330feffae48c766eafc743717436ae1 (diff)
Rename `byproduct` to `artifactfile`
Diffstat (limited to 'xmake/plugins/pack/batchcmds.lua')
-rw-r--r--xmake/plugins/pack/batchcmds.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/plugins/pack/batchcmds.lua b/xmake/plugins/pack/batchcmds.lua
index ab5a33aa0..d933a3372 100644
--- a/xmake/plugins/pack/batchcmds.lua
+++ b/xmake/plugins/pack/batchcmds.lua
@@ -303,7 +303,7 @@ 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:byproduct("implib")
+ local target_implib = target:artifactfile("implib")
if target_implib and os.isfile(target_implib) then
batchcmds_:mkdir(libdir)
batchcmds_:cp(target_implib, path.join(libdir, path.filename(target_implib)))