1do_install:append () { 2 sed -e 's@--sysroot=${STAGING_DIR_HOST}@@g' \ 3 -e "s@${DEBUG_PREFIX_MAP}@@g" \ 4 -e 's@${STAGING_DIR_HOST}@@g' \ 5 -e 's@${STAGING_DIR_NATIVE}@@g' \ 6 -e 's@^\(sys_lib_search_path_spec="\).*@\1${libdir} ${base_libdir}"@' \ 7 -e 's@^\(compiler_lib_search_dirs="\).*@\1${libdir} ${base_libdir}"@' \ 8 -e 's@^\(compiler_lib_search_path="\).*@\1${libdir} ${base_libdir}"@' \ 9 -e 's@^\(predep_objects="\).*@\1"@' \ 10 -e 's@^\(postdep_objects="\).*@\1"@' \ 11 -e "s@${HOSTTOOLS_DIR}/@@g" \ 12 -i ${D}${bindir}/libtool 13} 14