Created attachment 478242 [details] static-libs fix I think the attached patch fixes it.
This has been on my To-do: for a while. https://curl.se/mail/lib-2019-11/0076.html suggests that building and linking static dependencies is the correct thing to do and that the current ebuild behaviour is deficient. I'll apply the patch and submit a new ebuild when I'm next at a PC!
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12130a6da841981d1e329d35a613e047318527da commit 12130a6da841981d1e329d35a613e047318527da Author: Matt Jolly <Matt.Jolly@footclan.ninja> AuthorDate: 2023-08-06 10:33:14 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-08-10 03:02:39 +0000 net-misc/curl: fix USE=ldap,static-libs combination Closes: https://bugs.gentoo.org/622862 Reported-by: David E. Narváez <david.narvaez@computer.org> Signed-off-by: Matt Jolly <Matt.Jolly@footclan.ninja> Signed-off-by: Sam James <sam@gentoo.org> net-misc/curl/curl-8.2.1.ebuild | 2 +- net-misc/curl/curl-9999.ebuild | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)