diff options
author | Mike Gilbert <floppym@gentoo.org> | 2017-11-30 15:44:16 -0500 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2017-12-09 13:22:20 -0500 |
commit | 8173e1843a0d30f0856c78ed7a995036320096f5 (patch) | |
tree | f48d57f954fb84e387861e92ae961bb57f61ef4b /eclass | |
parent | systemd.eclass: add systemd_get_systemgeneratordir (diff) | |
download | gentoo-8173e1843a0d30f0856c78ed7a995036320096f5.tar.gz gentoo-8173e1843a0d30f0856c78ed7a995036320096f5.tar.bz2 gentoo-8173e1843a0d30f0856c78ed7a995036320096f5.zip |
systemd.eclass: strip EPREFIX from pkg-config output
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/systemd.eclass | 1 |
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 |