commit:     599e4bb20b3718ba7d18260ee7891701034e2ee2
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 13 23:23:08 2018 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Fri Apr 13 23:25:08 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=599e4bb2

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 <AT> gentoo.org>

 eclass/toolchain.eclass | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index b07a27f96bf..2da455ad4e3 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 \

Reply via email to