summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--user/systemd/APKBUILD5
1 files changed, 3 insertions, 2 deletions
diff --git a/user/systemd/APKBUILD b/user/systemd/APKBUILD
index bf231b7e8..adf31df9f 100644
--- a/user/systemd/APKBUILD
+++ b/user/systemd/APKBUILD
@@ -5,9 +5,9 @@ pkgrel=0
pkgdesc="System and service manager"
url="https://systemd.io/"
arch="all"
-license="GPL-2.0-only"
+license="LGPL-2.1-only"
depends="kmod"
-makedepends="utmps-dev linux-pam-dev acl-dev libidn2-dev libqrencode-dev libgpg-error-dev libgcrypt-dev gnutls-dev bzip2-dev xz-dev lz4-dev zstd-dev pcre2-dev py3-jinja2 meson util-linux-dev libcap-dev gperf"
+makedepends="utmps-dev linux-pam-dev acl-dev libidn2-dev libqrencode-dev libgpg-error-dev libgcrypt-dev gnutls-dev bzip2-dev xz-dev lz4-dev zstd-dev pcre2-dev py3-jinja2 meson util-linux-dev libcap-dev gperf kmod-dev"
replaces="eudev eudev-libs elogind"
provides="eudev=4.0.0 elogind=$pkgver udev=$pkgver"
subpackages="$pkgname-dev $pkgname-doc"
@@ -16,6 +16,7 @@ source="systemd-$pkgver.tar.gz::https://github.com/systemd/systemd/archive/refs/
"
build() {
+ export LDFLAGS="$LDFLAGS -lutmps -lskarnet"
meson setup \
--sysconfdir=/etc \
--mandir=/usr/share/man \