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
|
||||
m4 pkg-config python3-Jinja2 shadow"
|
||||
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"
|
||||
short_desc="Standalone logind fork"
|
||||
maintainer="Enno Boland <gottox@voidlinux.org>"
|
||||
@ -23,6 +23,10 @@ conf_files="/etc/elogind/*.conf"
|
||||
# tests fail differently due to containerization and kernel features
|
||||
make_check=ci-skip
|
||||
|
||||
if [ "$XBPS_TARGET_LIBC" = "glibc" ]; then
|
||||
makedepends+=" libxcrypt-devel"
|
||||
fi
|
||||
|
||||
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
|
||||
configure_args+=" -Dutmp=false"
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user