From 599e4bb20b3718ba7d18260ee7891701034e2ee2 Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Sat, 14 Apr 2018 00:23:08 +0100 Subject: 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 --- eclass/toolchain.eclass | 2 ++ 1 file changed, 2 insertions(+) (limited to 'eclass') 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 \ -- cgit v1.2.3-65-gdbad