-
Notifications
You must be signed in to change notification settings - Fork 162
Open
Description
Given a wheel with following libs.
When handling b.so, auditwheel will only set its rpath when b.so has a valid rpath:
auditwheel/src/auditwheel/lddtree.py
Line 248 in 5ef7bd5
| return [p for p in dedupe(ldpaths) if os.path.isdir(p)] |
auditwheel/src/auditwheel/repair.py
Lines 186 to 187 in 5ef7bd5
| if any(itertools.chain(rpaths["rpaths"], rpaths["runpaths"])): | |
| patcher.set_rpath(dest_path, "$ORIGIN") |
When rpath of b.so is not empty, we should also replace it with $ORIGIN no matter if it's valid.
a.so -> b.so -> c.so
a.so -> c.so
a.so: rpath=$ORIGIN
b.so: runpath=<nonexist>
Currently this failed because b.so could not fine c.so.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels