diff options
Diffstat (limited to 'eclass/wxwidgets.eclass')
-rw-r--r-- | eclass/wxwidgets.eclass | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/eclass/wxwidgets.eclass b/eclass/wxwidgets.eclass index f031cdf54430..e1f77f0b7c2b 100644 --- a/eclass/wxwidgets.eclass +++ b/eclass/wxwidgets.eclass @@ -118,10 +118,7 @@ setup-wxwidgets() { wxconf="${wxtoolkit}-unicode-${wxdebug}${WX_GTK_VER}" for w in "${CHOST:-${CBUILD}}-${wxconf}" "${wxconf}"; do - if [[ -f ${ESYSROOT:-${EPREFIX}}/usr/$(get_libdir)/wx/config/${w} ]]; then - wxconf=${w} - break - fi + [[ -f ${ESYSROOT:-${EPREFIX}}/usr/$(get_libdir)/wx/config/${w} ]] && wxconf=${w} && break done || die "Failed to find configuration ${wxconf}" export WX_CONFIG="${ESYSROOT:-${EPREFIX}}/usr/$(get_libdir)/wx/config/${wxconf}" |