You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There isn't a testcase per-say -- this is a code simplification suggestion.
The code I linked sets the RPATH only if it is already set on the binary and does a series of control-flow logic.
My suggestion/idea: why not just stamp the RPATH every time regardless? It is safe to have the RPATH point to the destination directory every time.
Please let me know if you all appreciate these code improvements as I scan the code.
I am reading the code for
repair.py
and I believe it would be simpler to always just squash theRUNPATH
/RPATH
[1]I see a few other improvements that can be made. Happy to upstream some if you find them useful.
[1]
auditwheel/src/auditwheel/repair.py
Line 165 in 3636dad
The text was updated successfully, but these errors were encountered: