This thread, maybe? Or possibly this one?
I’ve recently experienced the linking in of odd stuff I wasn’t using, as referred to in this post. Unfortunately it’s in an application which uses quite a few heavily modified libraries, and a modified cores, so it‘s hard to “post a simple example”. But...