elogind: fix musl build
This commit is contained in:
parent
eacd4420bb
commit
f4eadefa43
@ -11,7 +11,7 @@ configure_args="-Dcgroup-controller=elogind -Ddefault-hierarchy=legacy
|
|||||||
hostmakedepends="docbook-xsl gettext-devel glib-devel gperf intltool libxslt
|
hostmakedepends="docbook-xsl gettext-devel glib-devel gperf intltool libxslt
|
||||||
m4 pkg-config python3-Jinja2 shadow"
|
m4 pkg-config python3-Jinja2 shadow"
|
||||||
makedepends="acl-devel eudev-libudev-devel gettext-devel libcap-devel
|
makedepends="acl-devel eudev-libudev-devel gettext-devel libcap-devel
|
||||||
libglib-devel libseccomp-devel pam-devel libxcrypt-devel"
|
libglib-devel libseccomp-devel pam-devel"
|
||||||
depends="dbus"
|
depends="dbus"
|
||||||
short_desc="Standalone logind fork"
|
short_desc="Standalone logind fork"
|
||||||
maintainer="Enno Boland <gottox@voidlinux.org>"
|
maintainer="Enno Boland <gottox@voidlinux.org>"
|
||||||
@ -23,6 +23,10 @@ conf_files="/etc/elogind/*.conf"
|
|||||||
# tests fail differently due to containerization and kernel features
|
# tests fail differently due to containerization and kernel features
|
||||||
make_check=ci-skip
|
make_check=ci-skip
|
||||||
|
|
||||||
|
if [ "$XBPS_TARGET_LIBC" = "glibc" ]; then
|
||||||
|
makedepends+=" libxcrypt-devel"
|
||||||
|
fi
|
||||||
|
|
||||||
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
|
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
|
||||||
configure_args+=" -Dutmp=false"
|
configure_args+=" -Dutmp=false"
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user