remove-libtool.bbclass 333 B

1234567891011121314151617
  1. #
  2. # Copyright OpenEmbedded Contributors
  3. #
  4. # SPDX-License-Identifier: MIT
  5. #
  6. # This class removes libtool .la files after do_install
  7. REMOVE_LIBTOOL_LA ?= "1"
  8. remove_libtool_la() {
  9. if [ "${REMOVE_LIBTOOL_LA}" != "0" ]; then
  10. find "${D}" -ignore_readdir_race -name "*.la" -delete
  11. fi
  12. }
  13. do_install[postfuncs] += "remove_libtool_la"