Subject: mplayer: v4l2 tv needs pthreads
When the v4l2 tv interface is used, it needs -lpthread in order to link
correctly. Otherwhise we get this one:
stream/stream.a(tvi_v4l2.o): In function `uninit':
tvi_v4l2.c:(.text+0x325c): undefined reference to `pthread_join'
tvi_v4l2.c:(.text+0x351c): undefined reference to `pthread_join'
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
---
configure | 1 +
1 file changed, 1 insertion(+)
|
old
|
new
|
if test "$_tv_v4l2" = yes ; then
|
| 6867 | 6867 | _def_tv_v4l='#define HAVE_TV_V4L 1' |
| 6868 | 6868 | _def_tv_v4l2='#define HAVE_TV_V4L2 1' |
| 6869 | 6869 | _inputmodules="tv-v4l2 $_inputmodules" |
| | 6870 | _ld_extra="$_ld_extra -lpthread" |
| 6870 | 6871 | else |
| 6871 | 6872 | _noinputmodules="tv-v4l2 $_noinputmodules" |
| 6872 | 6873 | _def_tv_v4l2='#undef HAVE_TV_V4L2' |