Gentoo Archives: gentoo-dev

From: heroxbd@g.o
To: gentoo-dev@l.g.o
Cc: Benda Xu <heroxbd@g.o>
Subject: [gentoo-dev] [PATCH] eclass/cmake-utils.eclass: restrict rpath hack to Prefix/rpath
Date: Thu, 11 Jul 2019 17:14:40
Message-Id: 20190711171421.16796-1-heroxbd@gentoo.org
1 From: Benda Xu <heroxbd@g.o>
2
3 Prefix/standalone does not need it.
4 ---
5 eclass/cmake-utils.eclass | 2 +-
6 1 file changed, 1 insertion(+), 1 deletion(-)
7
8 diff --git a/eclass/cmake-utils.eclass b/eclass/cmake-utils.eclass
9 index ea1858e9735f..109b584afb39 100644
10 --- a/eclass/cmake-utils.eclass
11 +++ b/eclass/cmake-utils.eclass
12 @@ -612,7 +612,7 @@ cmake-utils_src_configure() {
13 fi
14 fi
15
16 - if [[ ${EPREFIX} ]]; then
17 + if use prefix-guest; then
18 cat >> "${build_rules}" <<- _EOF_ || die
19 # in Prefix we need rpath and must ensure cmake gets our default linker path
20 # right ... except for Darwin hosts
21 --
22 2.17.0

Replies