commit:     8ba998f8507d4de4a4da84a27a97f667354a86eb
Author:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
AuthorDate: Tue Aug  5 05:28:24 2025 +0000
Commit:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
CommitDate: Tue Aug  5 19:53:31 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ba998f8

net-proxy/shadowsocks-libev: use dot-a.eclass

... to avoid installing broken static libraries w/ LTO.

Closes: https://bugs.gentoo.org/958351
Signed-off-by: Eli Schwartz <eschwartz <AT> gentoo.org>

 net-proxy/shadowsocks-libev/shadowsocks-libev-3.3.5-r2.ebuild | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/net-proxy/shadowsocks-libev/shadowsocks-libev-3.3.5-r2.ebuild 
b/net-proxy/shadowsocks-libev/shadowsocks-libev-3.3.5-r2.ebuild
index 23feb370190f..ba12d030c9d5 100644
--- a/net-proxy/shadowsocks-libev/shadowsocks-libev-3.3.5-r2.ebuild
+++ b/net-proxy/shadowsocks-libev/shadowsocks-libev-3.3.5-r2.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 MY_PV="v${PV}"
-inherit autotools systemd
+inherit autotools dot-a systemd
 
 DESCRIPTION="A lightweight secured SOCKS5 proxy for embedded devices and low 
end boxes"
 HOMEPAGE="https://github.com/shadowsocks/shadowsocks-libev";
@@ -47,6 +47,8 @@ src_prepare() {
 }
 
 src_configure() {
+       lto-guarantee-fat
+
        local myconf="
                $(use_enable debug assert)
                --enable-system-shared-lib
@@ -57,6 +59,7 @@ src_configure() {
 
 src_install() {
        default
+       strip-lto-bytecode
 
        find "${D}" -name '*.la' -type f -delete || die
 

Reply via email to