New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix deletion of duplicate rpaths #357
Conversation
Deferring field population to the end seems to break rpath deletion of duplicated rpaths. Closes Homebrew#356.
075b9b1
to
6c24a08
Compare
I've added a test for the deletion of duplicate rpaths. To do so, I've checked in a binary
I probably could've amended your |
7abf76a
to
f73089c
Compare
Thanks for the fix! It's strange that deferring the population breaks deletion of duplicates, so that's something I should take a closer look at. This LGTM and I agree that the performance hit probably isn't too severe, so I'll merge now. |
Cut with 2.5.1, thanks again! |
No problem! Thanks for your work on
Yup, I agree.
Can we get that into Homebrew/brew? |
Yeah; it should be as simple as |
Oh, yes, I was vaguely aware of that. Just never used |
Deferring field population to the end seems to break rpath deletion of
duplicated rpaths.
Closes #356.
This might not be the ideal solution, but I think duplicated rpaths happen rarely enough for the performance hit to not be that bad.
Also, getting this into Homebrew/brew would unblock Homebrew/homebrew-core#77263.