Skip to content

Commit 6a7006a

Browse files
committed
elogind: fix musl build
1 parent e98930c commit 6a7006a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

srcpkgs/elogind/template

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Template file for 'elogind'
22
pkgname=elogind
33
version=252.9
4-
revision=2
4+
revision=3
55
build_style=meson
66
configure_args="-Dcgroup-controller=elogind -Ddefault-hierarchy=legacy
77
-Ddefault-kill-user-processes=false -Dhalt-path=/usr/bin/halt
@@ -23,6 +23,8 @@ conf_files="/etc/elogind/*.conf"
2323
# tests fail differently due to containerization and kernel features
2424
make_check=ci-skip
2525

26+
CFLAGS+=" -D_LARGEFILE64_SOURCE"
27+
2628
if [ "$XBPS_TARGET_LIBC" = "glibc" ]; then
2729
makedepends+=" libxcrypt-devel"
2830
fi

0 commit comments

Comments
 (0)