forked from Bananymous/banan-os
ports: Remove unneeded libtool files after install
This commit is contained in:
@@ -15,3 +15,12 @@ CONFIGURE_OPTIONS=(
|
|||||||
'--disable-nls'
|
'--disable-nls'
|
||||||
'--disable-werror'
|
'--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
|
||||||
|
}
|
||||||
|
|||||||
@@ -17,3 +17,10 @@ CONFIGURE_OPTIONS=(
|
|||||||
'--disable-nls'
|
'--disable-nls'
|
||||||
'--enable-languages=c,c++'
|
'--enable-languages=c,c++'
|
||||||
)
|
)
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
# remove libtool files
|
||||||
|
rm -f $BANAN_SYSROOT/usr/lib/libstdc++.la
|
||||||
|
rm -f $BANAN_SYSROOT/usr/lib/libstdc++exp.la
|
||||||
|
rm -f $BANAN_SYSROOT/usr/lib/libsupc++.la
|
||||||
|
}
|
||||||
|
|||||||
@@ -7,3 +7,8 @@ CONFIG_SUB=('configfsf.sub')
|
|||||||
|
|
||||||
# configure does not work with (default) c23
|
# configure does not work with (default) c23
|
||||||
export CFLAGS="--std=c17 $CFLAGS"
|
export CFLAGS="--std=c17 $CFLAGS"
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
# remove libtool file
|
||||||
|
rm -f $BANAN_SYSROOT/usr/lib/libgmp.la
|
||||||
|
}
|
||||||
|
|||||||
@@ -9,3 +9,8 @@ CONFIGURE_OPTIONS=(
|
|||||||
"--target=$BANAN_TOOLCHAIN_TRIPLE"
|
"--target=$BANAN_TOOLCHAIN_TRIPLE"
|
||||||
"--with-sysroot=$BANAN_SYSROOT"
|
"--with-sysroot=$BANAN_SYSROOT"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
# remove libtool file
|
||||||
|
rm -f $BANAN_SYSROOT/usr/lib/libmpc.la
|
||||||
|
}
|
||||||
|
|||||||
@@ -9,3 +9,8 @@ CONFIGURE_OPTIONS=(
|
|||||||
"--target=$BANAN_TOOLCHAIN_TRIPLE"
|
"--target=$BANAN_TOOLCHAIN_TRIPLE"
|
||||||
'--with-sysroot=/'
|
'--with-sysroot=/'
|
||||||
)
|
)
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
# remove libtool file
|
||||||
|
rm -f $BANAN_SYSROOT/usr/lib/libmpfr.la
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user