Skip to content

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
@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