From: Benda Xu <hero...@gentoo.org>

  Prefix/standalone does not need it.
---
 eclass/cmake-utils.eclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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
-- 
2.17.0


Reply via email to