diff options
| -rw-r--r-- | xmake/core/package/package.lua | 2 |
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()) |
