From: Mike Gilbert Date: Thu, 30 Nov 2017 20:44:16 +0000 (-0500) Subject: systemd.eclass: strip EPREFIX from pkg-config output X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=8173e1843a0d30f0856c78ed7a995036320096f5;p=gentoo.git systemd.eclass: strip EPREFIX from pkg-config output --- diff --git a/eclass/systemd.eclass b/eclass/systemd.eclass index cc3591b3301b..b86646052bef 100644 --- a/eclass/systemd.eclass +++ b/eclass/systemd.eclass @@ -45,6 +45,7 @@ _systemd_get_dir() { if $(tc-getPKG_CONFIG) --exists systemd; then d=$($(tc-getPKG_CONFIG) --variable="${variable}" systemd) || die + d=${d#${EPREFIX}} else d=${fallback} fi