--- toolchain-funcs.eclass.orig 2012-07-22 01:31:15.000000000 +0900 +++ toolchain-funcs.eclass 2012-07-25 22:11:23.000000000 +0900 @@ -615,8 +615,8 @@ # Eventually we'd like to get rid of this func completely #417451 case ${CTARGET:-${CHOST}} in *-darwin*) ;; - *linux*) use prefix && return 0 ;; - *) return 0 ;; + *) use prefix && return 0 ;; + *) ;; esac # Just make sure it exists @@ -685,7 +685,7 @@ ln -snf "../../${libdir}/${tlib}" "${lib}" popd > /dev/null ;; - *linux*) + *) if ${auto} ; then tlib=$(scanelf -qF'%S#F' "${ED}"/usr/${libdir}/${lib}) [[ -z ${tlib} ]] && die "unable to read SONAME from ${lib}"