BuildSystem: Automatically delete libtool files
Half of the ports had a manual post_install step to delete libtool files this is now done automatically and there is no need for it! Libtool files have to be deleted as libtool doesn't work while cross-compiling (at least out of the box)
This commit is contained in:
@@ -22,12 +22,3 @@ pre_configure() {
|
||||
unset PKG_CONFIG_LIBDIR
|
||||
unset PKG_CONFIG_PATH
|
||||
}
|
||||
|
||||
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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user