We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0c7444b commit 48a8254Copy full SHA for 48a8254
auditwheel/repair.py
@@ -158,10 +158,10 @@ def is_valid_rpath(rpath: str) -> bool:
158
rpaths = filter(is_valid_rpath, old_rpaths.split(':'))
159
# Remove duplicates while preserving ordering
160
# Fake an OrderedSet using OrderedDict
161
- rpaths = OrderedDict([(old_rpath, '') for old_rpath in rpaths])
162
- rpaths[rpath] = ''
+ rpath_set = OrderedDict([(old_rpath, '') for old_rpath in rpaths])
+ rpath_set[rpath] = ''
163
164
- patcher.set_rpath(lib_name, ':'.join(rpaths))
+ patcher.set_rpath(lib_name, ':'.join(rpath_set))
165
166
167
def _is_valid_rpath(rpath: str,
0 commit comments