From be8fa8559a04678492a714b432e0eec0a21e5875 Mon Sep 17 00:00:00 2001 From: Michael Haubenwallner Date: Fri, 11 Oct 2019 10:35:52 +0200 Subject: [PATCH] EAPI 7 econf: omit EPREFIX from --with-sysroot --- bin/phase-helpers.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/phase-helpers.sh b/bin/phase-helpers.sh index b53d39650..8baec5095 100644 --- a/bin/phase-helpers.sh +++ b/bin/phase-helpers.sh @@ -626,9 +626,9 @@ econf() { fi fi - if ___eapi_econf_passes_--with-sysroot; then + if ___eapi_econf_passes_--with-sysroot && [[ ${SYSROOT%/} ]] ; then if [[ ${conf_help} == *--with-sysroot* ]]; then - conf_args+=( --with-sysroot="${ESYSROOT:-/}" ) + conf_args+=( --with-sysroot="${SYSROOT}" ) fi fi fi -- 2.21.0