busybox: PAM support needs thread support
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 4 Jul 2015 13:48:04 +0000 (15:48 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 4 Jul 2015 13:48:04 +0000 (15:48 +0200)
commit98e1848db11e707f96504ccf9cb2ed09e6787dd1
tree87899496b6b3f99d4bfb04727f4b130347ee0f27
parentbfe2ba7453e1b5005267a6bfcab920cc4facc9aa
busybox: PAM support needs thread support

In commit f21b2558a097d07b53b6f20a47770468e9e4f7ed ("busybox: added
linux-pam support"), we added optional support for PAM in
Busybox. However, this support requires the toolchain to have thread
support, which causes build failures with non-thread capable
toolchains.

This commit therefore enables Busybox PAM support only if the
linux-pam package is available *and the toolchain has thread support.

Fixes:

  http://autobuild.buildroot.org/results/1a3/1a380aaca9303b67cc59165d56cf12f35966fe26/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/busybox/busybox.mk