1 |
On 7/12/19 3:14 AM, heroxbd@g.o wrote: |
2 |
> From: Benda Xu <heroxbd@g.o> |
3 |
> |
4 |
> Prefix/standalone does not need it. |
5 |
> --- |
6 |
> eclass/cmake-utils.eclass | 2 +- |
7 |
> 1 file changed, 1 insertion(+), 1 deletion(-) |
8 |
> |
9 |
> diff --git a/eclass/cmake-utils.eclass b/eclass/cmake-utils.eclass |
10 |
> index ea1858e9735f..109b584afb39 100644 |
11 |
> --- a/eclass/cmake-utils.eclass |
12 |
> +++ b/eclass/cmake-utils.eclass |
13 |
> @@ -612,7 +612,7 @@ cmake-utils_src_configure() { |
14 |
> fi |
15 |
> fi |
16 |
> |
17 |
> - if [[ ${EPREFIX} ]]; then |
18 |
> + if use prefix-guest; then |
19 |
> cat >> "${build_rules}" <<- _EOF_ || die |
20 |
> # in Prefix we need rpath and must ensure cmake gets our default linker path |
21 |
> # right ... except for Darwin hosts |
22 |
> |
23 |
|
24 |
This seems to break non-prefix builds, as the prefix-guest USE flag will |
25 |
not exist. |