summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2024-09-13 22:47:38 +0800
committerruki <[email protected]>2024-09-13 22:47:38 +0800
commit58d92b1928f19755ef3f8695bb79609f94764241 (patch)
tree8e436b2741896fc4af131730cb26b4dc015a10b6
parent4786482d75731a2819136cac270a04630549cfbe (diff)
improve install rpath
-rw-r--r--xmake/modules/target/action/install/main.lua2
1 files changed, 0 insertions, 2 deletions
diff --git a/xmake/modules/target/action/install/main.lua b/xmake/modules/target/action/install/main.lua
index 45f43a7cb..b1ae56a4d 100644
--- a/xmake/modules/target/action/install/main.lua
+++ b/xmake/modules/target/action/install/main.lua
@@ -170,8 +170,6 @@ function _update_install_rpath(target, opt)
local extra = extraconf and extraconf[rpathdir] or nil
if extra and extra.installonly then
rpath_utils.insert(targetfile, rpathdir, {plat = target:plat(), arch = target:arch()})
- else
- rpath_utils.remove(targetfile, rpathdir, {plat = target:plat(), arch = target:arch()})
end
end
end