When the build system finds libpam, it enables building of these tools,
causing linker failures. Explicitly disable them as they are unused.

Signed-off-by: Rosen Penev <ros...@gmail.com>
---
 package/utils/util-linux/Makefile | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/package/utils/util-linux/Makefile 
b/package/utils/util-linux/Makefile
index e61e501762..29ad135033 100644
--- a/package/utils/util-linux/Makefile
+++ b/package/utils/util-linux/Makefile
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=util-linux
 PKG_VERSION:=2.34
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
 PKG_SOURCE_URL:=@KERNEL/linux/utils/$(PKG_NAME)/v2.34
@@ -513,8 +513,14 @@ CONFIGURE_ARGS += \
        --disable-use-tty-group         \
        --disable-rpath                 \
        --disable-tls                   \
+       --disable-su                    \
        --disable-sulogin               \
        --disable-makeinstall-chown     \
+       --disable-login                 \
+       --disable-nologin               \
+       --disable-lslogins              \
+       --disable-runuser               \
+       --disable-chfn-chsh             \
        --without-python                \
        --without-udev                  \
        --without-readline              \
-- 
2.17.1


_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to