From 4a16fe7f90f6d9d5a06e9d34866c075af07d73b5 Mon Sep 17 00:00:00 2001 From: ruki Date: Sun, 21 Dec 2025 21:57:56 +0800 Subject: remove unused codes --- xmake/modules/utils/binary/rpath.lua | 9 --------- 1 file changed, 9 deletions(-) (limited to 'xmake/modules/utils/binary/rpath.lua') diff --git a/xmake/modules/utils/binary/rpath.lua b/xmake/modules/utils/binary/rpath.lua index fe783751e..33cab5a43 100644 --- a/xmake/modules/utils/binary/rpath.lua +++ b/xmake/modules/utils/binary/rpath.lua @@ -295,13 +295,6 @@ function _clean_rpath_by_patchelf(binaryfile, opt) return ok end -function _insert_rpath_by_binutils(binaryfile, rpath, opt) - return binutils.rpath_insert(binaryfile, rpath) -end - -function _remove_rpath_by_binutils(binaryfile, rpath, opt) - return binutils.rpath_remove(binaryfile, rpath) -end function _clean_rpath_by_binutils(binaryfile, opt) return binutils.rpath_clean(binaryfile) @@ -332,7 +325,6 @@ function insert(binaryfile, rpath, opt) opt = opt or {} local ops = { _insert_rpath_by_patchelf, - _insert_rpath_by_binutils } if is_host("macosx") then table.insert(ops, 1, _insert_rpath_by_install_name_tool) @@ -355,7 +347,6 @@ function remove(binaryfile, rpath, opt) opt = opt or {} local ops = { _remove_rpath_by_patchelf, - _remove_rpath_by_binutils } if is_host("macosx") then table.insert(ops, 1, _remove_rpath_by_install_name_tool) -- cgit v1.3.1