From 26ae6a77cbd38c7b750c142f4170e2b1b952a69d Mon Sep 17 00:00:00 2001 From: Phil Sutter Date: Sun, 5 Jan 2025 01:18:31 +0100 Subject: package: util-linux: Do not build lsfd if not needed This actually works around a problem when building against uClibc which does not seem to provide process_vm_readv syscall and thus compiling lsfd fails. Signed-off-by: Phil Sutter --- package/util-linux/Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/package/util-linux/Makefile b/package/util-linux/Makefile index 85c0397e8..33c2d1809 100644 --- a/package/util-linux/Makefile +++ b/package/util-linux/Makefile @@ -109,6 +109,11 @@ CONFIGURE_ARGS+= --exec-prefix=/usr \ --enable-libuuid \ --enable-libblkid \ --enable-libmount +ifneq (${ADK_PACKAGE_LSFD},) +CONFIGURE_ARGS+= --enable-lsfd +else +CONFIGURE_ARGS+= --disable-lsfd +endif TARGET_CFLAGS+= -fPIC FAKE_FLAGS+= INSTALLSUID="install -m 4755" -- cgit v1.2.3