summaryrefslogtreecommitdiff
path: root/xmake/core/package/package.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2022-09-02 23:31:21 +0800
committerruki <[email protected]>2022-09-02 23:31:21 +0800
commitf4dd9cd1947161c6491e835330a40fe197cb2c67 (patch)
treeca96e2d6a721e3619ff1d3eda1dfebc72a9541d7 /xmake/core/package/package.lua
parent1acf248c04f6ccf89bc3dfed5f37bd3b3a1617f2 (diff)
improve to install artifacts
Diffstat (limited to 'xmake/core/package/package.lua')
-rw-r--r--xmake/core/package/package.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/package/package.lua b/xmake/core/package/package.lua
index 75946c3ec..d812fdc95 100644
--- a/xmake/core/package/package.lua
+++ b/xmake/core/package/package.lua
@@ -284,7 +284,7 @@ function _instance:artifacts_set(artifacts_info)
if not rootdir then
os.raise("package(%s): manifest.txt not found when installing artifacts!", package:displayname())
end
- os.cp(path.join(rootdir, "*"), package:installdir())
+ os.cp(path.join(rootdir, "*"), package:installdir(), {symlink = true})
local manifest = package:manifest_load()
if not manifest then
os.raise("package(%s): load manifest.txt failed when installing artifacts!", package:displayname())