There's a closed pull request on the void-packages repository musl: allow libraries in /usr/local/lib to override system ones. https://github.com/void-linux/void-packages/pull/32182 Description: This was already possible by setting an RPATH, using LD_LIBRARY_PATH or /etc/ld-musl-$ARCH.path. However, none of these should be necessary, since that should be the default behavior. @void-linux/pkg-committers #### General - [ ] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements) #### Have the results of the proposed changes been tested? - [ ] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me - [ ] I generally don't use the affected packages but briefly tested this PR