summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2025-01-05 01:18:31 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2025-01-06 11:53:43 +0100
commit26ae6a77cbd38c7b750c142f4170e2b1b952a69d (patch)
tree58d10c5f9f97b264b505ed784e2f9ae0e4b9690d
parenteb8ff227ac95ac8564f20564a92c122a0f64903c (diff)
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 <phil@nwl.cc>
-rw-r--r--package/util-linux/Makefile5
1 files changed, 5 insertions, 0 deletions
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"