configure: uClibc native pthread requires -ldl
authorNeil Armstrong <superna9999@gmail.com>
Mon, 26 May 2014 13:21:03 +0000 (15:21 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 26 May 2014 14:00:25 +0000 (16:00 +0200)
commit99d742aac41bf613e0b797b1f809040c9b426536
tree47cbf528c3b81ebff2a719ef07567f7208aada85
parent86ae0da60c46658c91b11763557a9bbc1745c8b7
configure: uClibc native pthread requires -ldl

In the configure script, add a pthread detection with
-ldl added to cflags, because uClibc requires -ldl to
link with native libpthread.

Tested with a custom ARM toolchain with uClibc 0.9.33.2 and gcc 4.6.3.

Signed-off-by: Neil Armstrong <narmstrong@neotion.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
configure