Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 117875
Collapse All | Expand All

(-)toolchain.eclass (-2 / +7 lines)
Lines 1682-1689 Link Here
1682
			${LIBPATH}/${OS_MULTIDIR} \
1682
			${LIBPATH}/${OS_MULTIDIR} \
1683
			${LIBPATH}/../${MULTIDIR} \
1683
			${LIBPATH}/../${MULTIDIR} \
1684
			${PREFIX}/lib/${OS_MULTIDIR} \
1684
			${PREFIX}/lib/${OS_MULTIDIR} \
1685
			${PREFIX}/${CTARGET}/lib/${OS_MULTIDIR} \
1685
			${PREFIX}/${CTARGET}/lib/${OS_MULTIDIR}
1686
			${PREFIX}/lib/${MULTIDIR}
1687
		do
1686
		do
1688
			FROMDIR=${D}${FROMDIR}
1687
			FROMDIR=${D}${FROMDIR}
1689
			if [[ ${FROMDIR} != "${TODIR}" && -d ${FROMDIR} ]] ; then
1688
			if [[ ${FROMDIR} != "${TODIR}" && -d ${FROMDIR} ]] ; then
Lines 1694-1699 Link Here
1694
				rmdir "${FROMDIR}" 2>/dev/null
1693
				rmdir "${FROMDIR}" 2>/dev/null
1695
			fi
1694
			fi
1696
		done
1695
		done
1696
1697
		# This directory can contain libs for an alternate abi and if not
1698
		# should actually be empty (since it only contained libiberty.a) so
1699
		# don't try to mv it's contents.
1700
		FROMDIR=${D}${PREFIX}/lib/${MULTIDIR}
1701
		[[ -d ${FROMDIR} ]] && rmdir "${FROMDIR}" 2>/dev/null
1697
	done
1702
	done
1698
1703
1699
	# make sure the libtool archives have libdir set to where they actually
1704
	# make sure the libtool archives have libdir set to where they actually

Return to bug 117875