diff options
-rw-r--r-- | eclass/ltprune.eclass | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/eclass/ltprune.eclass b/eclass/ltprune.eclass index 6b3e93921d96..a8bb4c842bc0 100644 --- a/eclass/ltprune.eclass +++ b/eclass/ltprune.eclass @@ -15,6 +15,13 @@ if [[ -z ${_LTPRUNE_ECLASS} ]]; then +case ${EAPI:-0} in + 0|1|2|3|4|5|6) + ;; + *) + die "${ECLASS}: banned in EAPI=${EAPI}; use 'find' instead";; +esac + inherit toolchain-funcs # @FUNCTION: prune_libtool_files |