Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 417451 | Differences between
and this patch

Collapse All | Expand All

(-)toolchain-funcs.eclass.orig (-1 / +2 lines)
Lines 616-621 Link Here
616
	case ${CTARGET:-${CHOST}} in
616
	case ${CTARGET:-${CHOST}} in
617
	*-darwin*) ;;
617
	*-darwin*) ;;
618
	*linux*) use prefix && return 0 ;;
618
	*linux*) use prefix && return 0 ;;
619
	*-freebsd*) use prefix && return 0 ;;
619
	*) return 0 ;;
620
	*) return 0 ;;
620
	esac
621
	esac
621
622
Lines 685-691 Link Here
685
			ln -snf "../../${libdir}/${tlib}" "${lib}"
686
			ln -snf "../../${libdir}/${tlib}" "${lib}"
686
			popd > /dev/null
687
			popd > /dev/null
687
			;;
688
			;;
688
		*linux*)
689
		*linux*|*-freebsd*)
689
			if ${auto} ; then
690
			if ${auto} ; then
690
				tlib=$(scanelf -qF'%S#F' "${ED}"/usr/${libdir}/${lib})
691
				tlib=$(scanelf -qF'%S#F' "${ED}"/usr/${libdir}/${lib})
691
				[[ -z ${tlib} ]] && die "unable to read SONAME from ${lib}"
692
				[[ -z ${tlib} ]] && die "unable to read SONAME from ${lib}"

Return to bug 417451