glib: disable libelf on musl builds (currently broken).
This commit is contained in:
parent
d959ffac1c
commit
2d540461e5
1 changed files with 7 additions and 1 deletions
|
@ -5,7 +5,7 @@ revision=1
|
|||
build_style=gnu-configure
|
||||
configure_args="--disable-fam --with-pcre=system --enable-static"
|
||||
hostmakedepends="pkg-config perl python libxslt docbook-xsl which"
|
||||
makedepends="zlib-devel pcre-devel>=8.30 libffi-devel dbus-devel elfutils-devel"
|
||||
makedepends="zlib-devel pcre-devel>=8.30 libffi-devel dbus-devel"
|
||||
short_desc="The GNU library of C routines"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
homepage="http://www.gtk.org/"
|
||||
|
@ -28,6 +28,12 @@ if [ "$CROSS_BUILD" ]; then
|
|||
}
|
||||
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
|
||||
|
||||
libglib-devel_package() {
|
||||
depends="zlib-devel pcre-devel libffi-devel glib>=${version}_${revision}"
|
||||
short_desc+=" - development files"
|
||||
|
|
Loading…
Reference in a new issue