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 (-3 / +3 lines)
Lines 615-622 Link Here
615
	# Eventually we'd like to get rid of this func completely #417451
615
	# Eventually we'd like to get rid of this func completely #417451
616
	case ${CTARGET:-${CHOST}} in
616
	case ${CTARGET:-${CHOST}} in
617
	*-darwin*) ;;
617
	*-darwin*) ;;
618
	*linux*) use prefix && return 0 ;;
618
	*) use prefix && return 0 ;;
619
	*) return 0 ;;
619
	*) ;;
620
	esac
620
	esac
621
621
622
	# Just make sure it exists
622
	# Just make sure it exists
Lines 685-691 Link Here
685
			ln -snf "../../${libdir}/${tlib}" "${lib}"
685
			ln -snf "../../${libdir}/${tlib}" "${lib}"
686
			popd > /dev/null
686
			popd > /dev/null
687
			;;
687
			;;
688
		*linux*)
688
		*)
689
			if ${auto} ; then
689
			if ${auto} ; then
690
				tlib=$(scanelf -qF'%S#F' "${ED}"/usr/${libdir}/${lib})
690
				tlib=$(scanelf -qF'%S#F' "${ED}"/usr/${libdir}/${lib})
691
				[[ -z ${tlib} ]] && die "unable to read SONAME from ${lib}"
691
				[[ -z ${tlib} ]] && die "unable to read SONAME from ${lib}"

Return to bug 417451