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:
2025-11-13 20:37:10 +02:00
parent 2bf7c67767
commit 2dd8b76289
19 changed files with 1 additions and 105 deletions

View File

@@ -4,9 +4,3 @@ NAME='pcre2'
VERSION='10.45'
DOWNLOAD_URL="https://github.com/PCRE2Project/pcre2/releases/download/pcre2-$VERSION/pcre2-$VERSION.tar.gz#0e138387df7835d7403b8351e2226c1377da804e0737db0e071b48f07c9d12ee"
CONFIG_SUB=('config.sub')
post_install() {
# remove libtool files
rm -f $BANAN_SYSROOT/usr/lib/libpcre2-8.la
rm -f $BANAN_SYSROOT/usr/lib/libpcre2-posix.la
}