From: Sergei Trofimovich Date: Fri, 13 Apr 2018 23:23:08 +0000 (+0100) Subject: toolchain.eclass: don't install libcp1plugin.la X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=599e4bb20b3718ba7d18260ee7891701034e2ee2;p=gentoo.git toolchain.eclass: don't install libcp1plugin.la Don't install plugin's .la file. Plugins are meant to be loaded at runtime (they all export the same sympols, etc.). Plugins don't have static library equivalent. Drop 'libcp1plugin.la'. Reported-by: Paolo Pedroni Closes: https://bugs.gentoo.org/638216 Signed-off-by: Sergei Trofimovich --- diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass index b07a27f96bf3..2da455ad4e3b 100644 --- a/eclass/toolchain.eclass +++ b/eclass/toolchain.eclass @@ -1808,6 +1808,7 @@ toolchain_src_install() { # libsupc++.la: This has no dependencies. # libcc1.la: There is no static library, only dynamic. # libcc1plugin.la: Same as above, and it's loaded via dlopen. + # libcp1plugin.la: Same as above, and it's loaded via dlopen. # libgomp.la: gcc itself handles linkage (libgomp.spec). # libgomp-plugin-*.la: Same as above, and it's an internal plugin only # loaded via dlopen. @@ -1827,6 +1828,7 @@ toolchain_src_install() { -name libsupc++.la -o \ -name libcc1.la -o \ -name libcc1plugin.la -o \ + -name libcp1plugin.la -o \ -name 'libgomp.la' -o \ -name 'libgomp-plugin-*.la' -o \ -name libgfortran.la -o \