binutils: force libiberty install

it is also not necessary to manually install the headers anymore
This commit is contained in:
q66 2021-01-15 22:49:46 +01:00
parent a26d7bc937
commit 154734947c

View file

@ -1,7 +1,7 @@
# Template file for 'binutils'
pkgname=binutils
version=2.35.1
revision=2
revision=3
bootstrap=yes
short_desc="GNU binary utilities"
maintainer="Enno Boland <gottox@voidlinux.org>"
@ -85,6 +85,7 @@ do_configure() {
--enable-deterministic-archives \
--enable-64-bit-bfd \
--enable-ld=default \
--enable-install-libiberty \
--with-system-zlib \
--with-mmap \
--with-pic \
@ -115,10 +116,6 @@ do_install() {
rm -f ${DESTDIR}/usr/bin/ld
ln -sfr ${DESTDIR}/usr/bin/ld.bfd ${DESTDIR}/usr/bin/ld
# Add some useful headers
vinstall include/libiberty.h 644 usr/include
vinstall include/demangle.h 644 usr/include
# Remove these symlinks, they are not ABI stable.
# Programs should compile static to the .a file.
rm -f ${DESTDIR}/usr/lib/lib{bfd,opcodes}.so