summaryrefslogtreecommitdiff
path: root/eclass/cmake-utils.eclass
diff options
context:
space:
mode:
authorBenda Xu <heroxbd@gentoo.org>2019-07-12 01:12:33 +0800
committerMichael Palimaka <kensington@gentoo.org>2019-07-24 21:07:46 +1000
commit6b5defd5f810ece692fa40a1fdc7693018cba506 (patch)
treecf822504139296837d4d5ae3b640fe299d37c209 /eclass/cmake-utils.eclass
parent7eb7b64767f52700b5df01144afc696b1f5983b3 (diff)
downloadkde-6b5defd5f810ece692fa40a1fdc7693018cba506.tar.gz
kde-6b5defd5f810ece692fa40a1fdc7693018cba506.tar.bz2
kde-6b5defd5f810ece692fa40a1fdc7693018cba506.zip
eclass/cmake-utils.eclass: restrict rpath hack to Prefix/rpath
Prefix/standalone does not need it. Signed-Off-By: Benda Xu <heroxbd@gentoo.org>
Diffstat (limited to 'eclass/cmake-utils.eclass')
-rw-r--r--eclass/cmake-utils.eclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/eclass/cmake-utils.eclass b/eclass/cmake-utils.eclass
index ea1858e9735..109b584afb3 100644
--- a/eclass/cmake-utils.eclass
+++ b/eclass/cmake-utils.eclass
@@ -612,7 +612,7 @@ cmake-utils_src_configure() {
fi
fi
- if [[ ${EPREFIX} ]]; then
+ if use prefix-guest; then
cat >> "${build_rules}" <<- _EOF_ || die
# in Prefix we need rpath and must ensure cmake gets our default linker path
# right ... except for Darwin hosts