mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-11 00:07:51 +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
|
EAPI=8
|
||||||
|
|
||||||
inherit autotools multilib-minimal
|
inherit autotools dot-a multilib-minimal toolchain-funcs
|
||||||
|
|
||||||
MY_PN=${PN}2
|
MY_PN=${PN}2
|
||||||
MY_P=${MY_PN}-${PV}
|
MY_P=${MY_PN}-${PV}
|
||||||
@ -55,6 +55,9 @@ src_prepare() {
|
|||||||
multilib_src_configure() {
|
multilib_src_configure() {
|
||||||
# FIXME: It should be possible to use net-nntp/inn for libinn.h and -linn!
|
# 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=(
|
local myeconfargs=(
|
||||||
--with-html-dir="${EPREFIX}"/usr/share/gtk-doc/html
|
--with-html-dir="${EPREFIX}"/usr/share/gtk-doc/html
|
||||||
--with-www=curl
|
--with-www=curl
|
||||||
@ -76,4 +79,5 @@ multilib_src_install() {
|
|||||||
default
|
default
|
||||||
|
|
||||||
find "${ED}" -name '*.la' -delete || die
|
find "${ED}" -name '*.la' -delete || die
|
||||||
|
strip-lto-bytecode
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user