mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
elfutils: fix vmove for libdebuginfod.
Applications linked against libdebuginfod will be linked against its soname, which is a symlink that was ending up in the libelf subpackage.
This commit is contained in:
parent
751dd0bb7f
commit
76f5fe608c
1 changed files with 4 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'elfutils'
|
# Template file for 'elfutils'
|
||||||
pkgname=elfutils
|
pkgname=elfutils
|
||||||
version=0.182
|
version=0.182
|
||||||
revision=3
|
revision=4
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--program-prefix=eu-"
|
configure_args="--program-prefix=eu-"
|
||||||
hostmakedepends="automake libtool pkg-config"
|
hostmakedepends="automake libtool pkg-config"
|
||||||
|
@ -14,6 +14,8 @@ license="GPL-3.0-or-later"
|
||||||
homepage="https://sourceware.org/elfutils/"
|
homepage="https://sourceware.org/elfutils/"
|
||||||
distfiles="https://sourceware.org/${pkgname}/ftp/${version}/${pkgname}-${version}.tar.bz2"
|
distfiles="https://sourceware.org/${pkgname}/ftp/${version}/${pkgname}-${version}.tar.bz2"
|
||||||
checksum=ecc406914edf335f0b7fc084ebe6c460c4d6d5175bfdd6688c1c78d9146b8858
|
checksum=ecc406914edf335f0b7fc084ebe6c460c4d6d5175bfdd6688c1c78d9146b8858
|
||||||
|
# subpackages require explicit ordering
|
||||||
|
subpackages="debuginfod libdebuginfod libelf elfutils-devel"
|
||||||
|
|
||||||
CFLAGS="-Wno-error"
|
CFLAGS="-Wno-error"
|
||||||
CXXFLAGS="-Wl,-z,stack-size=2097152"
|
CXXFLAGS="-Wl,-z,stack-size=2097152"
|
||||||
|
@ -38,7 +40,7 @@ pre_configure() {
|
||||||
libdebuginfod_package() {
|
libdebuginfod_package() {
|
||||||
short_desc+=" - debuginfod library"
|
short_desc+=" - debuginfod library"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove "usr/lib/libdebuginfod-*.so*"
|
vmove "usr/lib/libdebuginfod*.so*"
|
||||||
vmove etc/profile.d
|
vmove etc/profile.d
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue