---
 eclass/ltprune.eclass | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/eclass/ltprune.eclass b/eclass/ltprune.eclass
index a8bb4c842bc0..f1dd795aea2a 100644
--- a/eclass/ltprune.eclass
+++ b/eclass/ltprune.eclass
@@ -17,6 +17,8 @@ if [[ -z ${_LTPRUNE_ECLASS} ]]; then
 
 case ${EAPI:-0} in
        0|1|2|3|4|5|6)
+               # for eqawarn
+               [[ -z ${_EUTILS_ECLASS} ]] && inherit eutils
                ;;
        *)
                die "${ECLASS}: banned in EAPI=${EAPI}; use 'find' instead";;
@@ -52,6 +54,11 @@ inherit toolchain-funcs
 prune_libtool_files() {
        debug-print-function ${FUNCNAME} "$@"
 
+       eqawarn "prune_libtool_files is deprecated. Please use the following 
one-liner"
+       eqawarn "instead:"
+       eqawarn
+       eqawarn "  find "${D}" -name '*.la' -delete || die"
+
        local removing_all removing_modules opt
        for opt; do
                case "${opt}" in
-- 
2.16.2


Reply via email to