summaryrefslogtreecommitdiff
path: root/xmake/modules/target/action
diff options
context:
space:
mode:
authorruki <[email protected]>2022-09-02 23:12:45 +0800
committerruki <[email protected]>2022-09-02 23:12:45 +0800
commitdea67e8f08265301565cf487c842bc7f3642e3b7 (patch)
tree30250563cf3645efdbe8f8d5143001d8e23d123a /xmake/modules/target/action
parent1acf248c04f6ccf89bc3dfed5f37bd3b3a1617f2 (diff)
improve to find_package and install package
Diffstat (limited to 'xmake/modules/target/action')
-rw-r--r--xmake/modules/target/action/install/unix.lua11
1 files changed, 0 insertions, 11 deletions
diff --git a/xmake/modules/target/action/install/unix.lua b/xmake/modules/target/action/install/unix.lua
index 65fce1e3c..126191c0e 100644
--- a/xmake/modules/target/action/install/unix.lua
+++ b/xmake/modules/target/action/install/unix.lua
@@ -52,17 +52,6 @@ function _install_shared_for_package(target, pkg, outputdir)
-- we need reserve symlink
-- @see https://github.com/xmake-io/xmake/issues/1582
os.vcp(sopath, outputdir, {symlink = true})
- -- https://github.com/xmake-io/xmake/issues/2665#issuecomment-1209619081
- if os.islink(sopath) then
- -- relative link? e.g. libxx.so -> libxx.4.so
- local realitem = os.readlink(sopath)
- if realitem and not path.is_absolute(realitem) then
- local realpath = path.join(path.directory(sopath), realitem)
- if os.isfile(realpath) then
- os.vcp(realpath, outputdir)
- end
- end
- end
_g.installed_libfiles[sopath] = true
end
end