ports: Remove unneeded libtool files after install

This commit is contained in:
2025-07-22 10:32:52 +03:00
parent bc66e181a5
commit 418c3c9cfa
5 changed files with 31 additions and 0 deletions

View File

@@ -15,3 +15,12 @@ CONFIGURE_OPTIONS=(
'--disable-nls'
'--disable-werror'
)
post_install() {
# remove libtool files
rm -f $BANAN_SYSROOT/usr/lib/libbfd.la
rm -f $BANAN_SYSROOT/usr/lib/libctf.la
rm -f $BANAN_SYSROOT/usr/lib/libctf-nobfd.la
rm -f $BANAN_SYSROOT/usr/lib/libopcodes.la
rm -f $BANAN_SYSROOT/usr/lib/libsframe.la
}