util-linux: add missing dynamic library dependency
authorBaruch Siach <baruch@tkos.co.il>
Tue, 19 Sep 2017 05:17:52 +0000 (08:17 +0300)
committerArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Tue, 19 Sep 2017 20:06:15 +0000 (22:06 +0200)
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@datacom.ind.br>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Reviewed-by: Carlos Santos <casantos@datacom.ind.br>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
package/util-linux/Config.in

index 80aab881a0da46a11c3114b44c108ba97105e27a..5a600c333db3243992cda1f7ee4069994233c81a 100644 (file)
@@ -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