summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2018-04-14 00:23:08 +0100
committerSergei Trofimovich <slyfox@gentoo.org>2018-04-14 00:25:08 +0100
commit599e4bb20b3718ba7d18260ee7891701034e2ee2 (patch)
treecf7044a278599da04a78253b9ae623400ecc52b4 /eclass
parentnet-dns/bind-tools: remove unused patch (diff)
downloadgentoo-599e4bb20b3718ba7d18260ee7891701034e2ee2.tar.gz
gentoo-599e4bb20b3718ba7d18260ee7891701034e2ee2.tar.bz2
gentoo-599e4bb20b3718ba7d18260ee7891701034e2ee2.zip
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 <slyfox@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/toolchain.eclass2
1 files changed, 2 insertions, 0 deletions
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 \