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:
@@ -5,10 +5,3 @@ VERSION='1.3.7'
|
||||
DOWNLOAD_URL="https://github.com/xiph/vorbis/releases/download/v$VERSION/libvorbis-$VERSION.tar.gz#0e982409a9c3fc82ee06e08205b1355e5c6aa4c36bca58146ef399621b0ce5ab"
|
||||
DEPENDENCIES=('libogg')
|
||||
CONFIG_SUB=('config.sub')
|
||||
|
||||
post_install() {
|
||||
# remove libtool files
|
||||
rm -f $BANAN_SYSROOT/usr/lib/libvorbis.la
|
||||
rm -f $BANAN_SYSROOT/usr/lib/libvorbisenc.la
|
||||
rm -f $BANAN_SYSROOT/usr/lib/libvorbisfile.la
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user