commit:     6b5defd5f810ece692fa40a1fdc7693018cba506
Author:     Benda Xu <heroxbd <AT> gentoo <DOT> org>
AuthorDate: Thu Jul 11 17:12:33 2019 +0000
Commit:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Wed Jul 24 11:07:46 2019 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=6b5defd5

eclass/cmake-utils.eclass: restrict rpath hack to Prefix/rpath

  Prefix/standalone does not need it.

Signed-Off-By: Benda Xu <heroxbd <AT> gentoo.org>

 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 ea1858e973..109b584afb 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

Reply via email to