=dev-libs/apr-1.5.2 was using prune_libtool_files, but =dev-libs/apr-1.6.2 now uses find \( -name "*.a" \) -delete Problem here is that Cygwin uses "lib*.dll.a" (get_libname returns ".dll.a") for linking against the shared library, which is erroneously removed by matching "*.a". Please either use find \( -name "*.a" -not -name "*$(get_libname)" \), or switch back to prune_libtool_files (along "inherit ltprune" these days[1]). [1] https://archives.gentoo.org/gentoo-dev/message/04e6b63d9c645688166e160812be2113 Thanks! /haubi/
commit b555f57f9d33e18600c6d68a3403cadbdab1f1b9 Author: Lars Wendler <polynomial-c@gentoo.org> Date: Tue Aug 22 14:15:13 2017 dev-libs/apr: Re-added prune_libtool_files (bug #628590). Package-Manager: Portage-2.3.8, Repoman-2.3.3