summaryrefslogtreecommitdiff
path: root/xmake/modules/utils/binary
diff options
context:
space:
mode:
authorruki <[email protected]>2024-07-17 00:57:22 +0800
committerruki <[email protected]>2024-07-17 00:57:22 +0800
commitad8a223ce684cd394179aca49fbea9c7b2e0d4c0 (patch)
tree336c5e99524b50b66780eb4da5fcd31b3543c24a /xmake/modules/utils/binary
parent10df5c458fcf66832c0ef437157c7397f2283b18 (diff)
add rpath for xpack
Diffstat (limited to 'xmake/modules/utils/binary')
-rw-r--r--xmake/modules/utils/binary/rpath.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/modules/utils/binary/rpath.lua b/xmake/modules/utils/binary/rpath.lua
index c47f7c768..016ff5133 100644
--- a/xmake/modules/utils/binary/rpath.lua
+++ b/xmake/modules/utils/binary/rpath.lua
@@ -269,8 +269,8 @@ function remove(binaryfile, rpath, opt)
end
end
--- remove all rpath
-function remove_all(binaryfile, opt)
+-- clean rpath
+function clean(binaryfile, opt)
for _, rpath in ipairs(list(binaryfile, opt)) do
remove(binaryfile, rpath, opt)
end