When freetype is emerged (cross-emerged, mingw) without USE=static-libs, the .dll.a file is missing (but it is needed to be able to link with the dll). With USE=static-libs, the file is present. I hit this bug while emerging fontconfig, which needs to link with freetype.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5cf9f4051b3a6ddaea36a0c5e15a021a4e257e9c commit 5cf9f4051b3a6ddaea36a0c5e15a021a4e257e9c Author: Mike Gilbert <floppym@gentoo.org> AuthorDate: 2021-06-07 19:42:19 +0000 Commit: Mike Gilbert <floppym@gentoo.org> CommitDate: 2021-06-08 02:30:17 +0000 media-libs/freetype: drop static-libs hack The build system does not install static libs unless requested. Closes: https://bugs.gentoo.org/735136 Signed-off-by: Mike Gilbert <floppym@gentoo.org> media-libs/freetype/freetype-2.10.4.ebuild | 3 --- media-libs/freetype/freetype-9999.ebuild | 3 --- 2 files changed, 6 deletions(-)