mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-08 00:05:33 +03:00
media-libs/raptor: export PKG_CONFIG for xml2-config, use dot-a.eclass
... to avoid installing broken static libraries w/ LTO. Signed-off-by: Nicolas PARLANT <nicolas.parlant@parhuet.fr> Part-of: https://github.com/gentoo/gentoo/pull/44615 Closes: https://github.com/gentoo/gentoo/pull/44615 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
parent
5421e614e8
commit
a29fba475b
@ -3,7 +3,7 @@
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit autotools multilib-minimal
|
||||
inherit autotools dot-a multilib-minimal toolchain-funcs
|
||||
|
||||
MY_PN=${PN}2
|
||||
MY_P=${MY_PN}-${PV}
|
||||
@ -55,6 +55,9 @@ src_prepare() {
|
||||
multilib_src_configure() {
|
||||
# FIXME: It should be possible to use net-nntp/inn for libinn.h and -linn!
|
||||
|
||||
# export PKG_CONFIG for xml2-config
|
||||
tc-export PKG_CONFIG
|
||||
lto-guarantee-fat
|
||||
local myeconfargs=(
|
||||
--with-html-dir="${EPREFIX}"/usr/share/gtk-doc/html
|
||||
--with-www=curl
|
||||
@ -76,4 +79,5 @@ multilib_src_install() {
|
||||
default
|
||||
|
||||
find "${ED}" -name '*.la' -delete || die
|
||||
strip-lto-bytecode
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user