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 --- package/util-linux/Makefile | 5 +++++ 1 file changed, 5 insertions(+)
diff --git a/package/util-linux/Makefile b/package/util-linux/Makefile index 85c0397e897b1..33c2d1809ca91 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"