[Buildroot] [PATCH] util-linux: add missing dynamic library dependency

Baruch Siach baruch at tkos.co.il
Tue Sep 19 05:17:52 UTC 2017


Commit f52af619185 (util-linux: add menu items for login utilities)
forgot to propagate the !BR2_STATIC_LIBS dependency of linux-pam to
BR2_PACKAGE_UTIL_LINUX_LOGIN. Fix this.

Fixes:
http://autobuild.buildroot.net/results/e47/e472891a656e40f33081d9a5db1b1b6d71c1389f/
http://autobuild.buildroot.net/results/9e4/9e443720ca247292ea612851962c611a9bcd3450/
http://autobuild.buildroot.net/results/88f/88f4cecd7e2844701b0e75279c112e37283fc7f9/

Cc: Carlos Santos <casantos at datacom.ind.br>
Signed-off-by: Baruch Siach <baruch at tkos.co.il>
---
 package/util-linux/Config.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/util-linux/Config.in b/package/util-linux/Config.in
index 80aab881a0da..5a600c333db3 100644
--- a/package/util-linux/Config.in
+++ b/package/util-linux/Config.in
@@ -173,6 +173,7 @@ config BR2_PACKAGE_UTIL_LINUX_LOGIN
 	bool "login"
 	depends on BR2_ENABLE_LOCALE # linux-pam
 	depends on BR2_USE_WCHAR # linux-pam
+	depends on !BR2_STATIC_LIBS # linux-pam
 	depends on !BR2_TOOLCHAIN_USES_MUSL # linux-pam
 	depends on BR2_USE_MMU # fork(), linux-pam
 	select BR2_PACKAGE_LINUX_PAM
-- 
2.14.1



More information about the buildroot mailing list