diff options
author | Benda Xu <heroxbd@gentoo.org> | 2019-07-12 01:12:33 +0800 |
---|---|---|
committer | Benda Xu <heroxbd@gentoo.org> | 2019-07-14 22:18:36 +0800 |
commit | 1228c926d9f0dbe5e63ac31bd66a50987994ed5d (patch) | |
tree | 34888976479ecae549271c291752092d53d67efa /eclass | |
parent | package.use.mask: Update last-rite mask for >=media-gfx/gimp-2.10 (diff) | |
download | gentoo-1228c926d9f0dbe5e63ac31bd66a50987994ed5d.tar.gz gentoo-1228c926d9f0dbe5e63ac31bd66a50987994ed5d.tar.bz2 gentoo-1228c926d9f0dbe5e63ac31bd66a50987994ed5d.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')
-rw-r--r-- | eclass/cmake-utils.eclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/eclass/cmake-utils.eclass b/eclass/cmake-utils.eclass index ea1858e9735f..109b584afb39 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 |