Remove the unnecessary Prefix logic from prune_libtool_files(). There is
no functional difference between starting a find in ${D} and ${ED}
(since ${D} is not supposed to contain other directories on a Prefix
system), and using the latter implies unnecessary hackery for older
EAPIs.
debug-print-function ${FUNCNAME} "$@"
local removing_all removing_modules opt
- _eutils_eprefix_init
for opt; do
case "${opt}" in
--all)
einfo "Removing unnecessary ${f#${D%/}} (${reason})"
queue+=( "${f}" )
fi
- done < <(find "${ED}" -xtype f -name '*.la' -print0)
+ done < <(find "${D}" -xtype f -name '*.la' -print0)
if [[ ${queue[@]} ]]; then
rm -f "${queue[@]}"