mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-05 04:16:46 +02:00
main/binutils: fix crosscompiler packaging
This commit is contained in:
parent
0dceb86c0b
commit
057d88bfea
@ -67,6 +67,11 @@ package() {
|
||||
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
|
||||
fi
|
||||
find "$pkgdir" -name "*.la" -delete
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user