glib: enable elfutils in glibc and musl.
This commit is contained in:
parent
9985a630fe
commit
10a008c67c
1 changed files with 3 additions and 9 deletions
|
@ -1,11 +1,11 @@
|
|||
# Template build file for 'glib'
|
||||
pkgname=glib
|
||||
version=2.42.2
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=gnu-configure
|
||||
configure_args="--disable-fam --with-pcre=system --enable-static"
|
||||
configure_args="--enable-libelf --disable-fam --with-pcre=system --enable-static"
|
||||
hostmakedepends="automake libtool pkg-config perl python libxslt docbook-xsl"
|
||||
makedepends="zlib-devel pcre-devel libffi-devel dbus-devel"
|
||||
makedepends="zlib-devel pcre-devel libffi-devel dbus-devel elfutils-devel"
|
||||
short_desc="The GNU library of C routines"
|
||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||
homepage="http://www.gtk.org/"
|
||||
|
@ -17,12 +17,6 @@ if [ "$CROSS_BUILD" ]; then
|
|||
hostmakedepends+=" glib-devel"
|
||||
fi
|
||||
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
# disable libelf on musl, our elfutils version uses GNU extensions.
|
||||
*-musl) configure_args+=" --disable-libelf";;
|
||||
*) configure_args+=" --enable-libelf"; makedepends+=" elfutils-devel";;
|
||||
esac
|
||||
|
||||
pre_configure() {
|
||||
autoreconf -fi
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue