diff options
| author | ruki <[email protected]> | 2025-12-21 21:57:56 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2025-12-21 21:57:56 +0800 |
| commit | 4a16fe7f90f6d9d5a06e9d34866c075af07d73b5 (patch) | |
| tree | ad74dfbc3348cb21bf1bf684da9e268234dc8d33 /xmake/modules/utils/binary | |
| parent | a836f5742fc9c704c89281ae5f525cdaa4a903de (diff) | |
remove unused codes
Diffstat (limited to 'xmake/modules/utils/binary')
| -rw-r--r-- | xmake/modules/utils/binary/rpath.lua | 9 |
1 files changed, 0 insertions, 9 deletions
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) |
