mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-05 04:16:46 +02:00
main/binutils: keep libiberty.a in normal build
some applications need it
This commit is contained in:
parent
846c523146
commit
b3cd6c73bb
@ -1,7 +1,7 @@
|
||||
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
||||
pkgname=binutils
|
||||
pkgver=2.23.2
|
||||
pkgrel=3
|
||||
pkgrel=4
|
||||
pkgdesc="Tools necessary to build programs"
|
||||
url="http://www.gnu.org/software/binutils/"
|
||||
depends=
|
||||
@ -66,11 +66,11 @@ package() {
|
||||
mv "$pkgdir"/usr/lib64/* "$pkgdir"/usr/lib/
|
||||
rmdir "$pkgdir"/usr/lib64
|
||||
fi
|
||||
rm "$pkgdir"/usr/lib/libiberty.a
|
||||
if [ "$CHOST" != "$CTARGET" ]; then
|
||||
# creating cross tools: remove any files that would conflict
|
||||
# with the native tools, or other cross tools
|
||||
rm -r "$pkgdir"/usr/share
|
||||
rm -f "$pkgdir"/usr/lib/libiberty.a
|
||||
fi
|
||||
find "$pkgdir" -name "*.la" -delete
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user