[PATCH] Fix link failure on some platforms when PAM is enabled
Denys Vlasenko
vda.linux at googlemail.com
Mon Dec 5 03:39:37 UTC 2011
On Monday 28 November 2011 00:17, Tristan Schmelcher wrote:
> libpam uses libpthread, so for static builds busybox must be linked to
> libpthread. On some platforms that requires an explicit -lpthread, so
> it should be in LDLIBS. For non-static builds, scripts/trylink will
> take care of removing -lpthread if possible. (Not bothering to check
> CONFIG_STATIC because even in a non-static build it could be that the
> only libpam available is libpam.a, so -lpthread could still be
> needed.)
Applied, thanks!
--
vda
More information about the busybox
mailing list