From 8173e1843a0d30f0856c78ed7a995036320096f5 Mon Sep 17 00:00:00 2001 From: Mike Gilbert Date: Thu, 30 Nov 2017 15:44:16 -0500 Subject: [PATCH] systemd.eclass: strip EPREFIX from pkg-config output --- eclass/systemd.eclass | 1 + 1 file changed, 1 insertion(+) 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 -- 2.26.2