There's a merged pull request on the void-packages repository Fix handling of symlinked pkg-config files when purging $XBPS_CROSS_BASE refs https://github.com/void-linux/void-packages/pull/46201 Description: Packages (e.g., `python3-pybind11`) that symlink to `*.pc` files in `/usr/{lib,share}/pkgconfig` will have those links overwritten with actual copies of the files after the hook common/hooks/post-install/13-pkg-config-clean-xbps-cross-base-ref.sh attempts to remove `$XBPS_CROSS_BASE` from paths. This will result in the new copy containing corrected paths, but the original file remaining uncorrected. This was stolen fro @tornaria. #### Testing the changes - I tested the changes in this PR: **YES**|**briefly**|**NO**