From 39880393d64e235f4584f84b00bb1456b319ccd1 Mon Sep 17 00:00:00 2001 From: Dmitry Sharshakov Date: Sun, 29 Sep 2024 13:51:07 +0200 Subject: [PATCH] fix: lvm2: statically link libcap in, as it's required by libudev from systemd Signed-off-by: Dmitry Sharshakov --- lvm2/pkg.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lvm2/pkg.yaml b/lvm2/pkg.yaml index cbac78b5..a81a0085 100644 --- a/lvm2/pkg.yaml +++ b/lvm2/pkg.yaml @@ -12,6 +12,8 @@ steps: destination: lvm2.tar.gz sha256: "{{ .lvm2_sha256 }}" sha512: "{{ .lvm2_sha512 }}" + env: + LIBS: -l:libcap.a -L/toolchain/lib prepare: - | tar -xzf lvm2.tar.gz --strip-components=1