Skip to content
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

Delete last rpath when requested #556

Merged
merged 1 commit into from
Jul 25, 2023

Conversation

carlocab
Copy link
Member

Deleting the first rpath is a good default because it mirrors the behaviour of install_name_tool. However, it's not useful behaviour when deleting duplicate rpaths, because it changes the order in which the runtime paths are searched.

We delete duplicate rpaths in brew, so being able to delete the last instance of the requested rpath instead of the first one would be useful.

Deleting the first rpath is a good default because it mirrors the
behaviour of `install_name_tool`. However, it's not useful behaviour
when deleting duplicate rpaths, because it changes the order in which
the runtime paths are searched.

We delete duplicate rpaths in `brew`, so being able to delete the last
instance of the requested rpath instead of the first one would be
useful.

Co-authored-by: William Woodruff <william@yossarian.net>
@woodruffw woodruffw merged commit d829cb3 into Homebrew:master Jul 25, 2023
12 checks passed
@woodruffw
Copy link
Member

Thanks @carlocab! I'll queue up a release now.

@carlocab carlocab deleted the delete-last-rpath branch July 25, 2023 14:55
@carlocab
Copy link
Member Author

Thanks!

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 25, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants