-
-
Save kergoth/20620cbded1eccf769c5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Backfill for existing distros | |
DISTRO_FEATURES_BACKFILL_append = " libtool-garbage" | |
# Drop for packaged bits only, not what ends up in our internal sysroots | |
PACKAGEBUILDPKGD_append = "${@bb.utils.contains('DISTRO_FEATURES', 'libtool-garbage', '', ' drop_libtool_garbage', d)}" | |
drop_libtool_garbage () { | |
find "${PKGD}" -name "*.la" -exec rm "{}" \; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment