summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
Diffstat (limited to 'eclass')
-rw-r--r--eclass/systemd.eclass1
1 files changed, 1 insertions, 0 deletions
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