From: Benda Xu Date: Thu, 11 Jul 2019 17:12:33 +0000 (+0800) Subject: eclass/cmake-utils.eclass: restrict rpath hack to Prefix/rpath X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=1228c926d9f0dbe5e63ac31bd66a50987994ed5d;p=gentoo.git eclass/cmake-utils.eclass: restrict rpath hack to Prefix/rpath Prefix/standalone does not need it. Signed-Off-By: Benda Xu --- 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