Some tests (avcenc, mpeg2transcode) were using the pthread library but
were missing -lpthread link option. This regression was exhausted on
Fedora 15+ thanks to Yakui.
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
avcenc_CFLAGS = -I$(top_srcdir)/test/common
avcenc_LDADD = \
$(top_builddir)/va/libva.la \
- $(top_builddir)/test/common/libva-display.la
+ $(top_builddir)/test/common/libva-display.la \
+ -lpthread
EXTRA_DIST = h264encode_common.c
mpeg2transcode_LDADD = \
$(top_builddir)/va/libva.la \
$(top_builddir)/va/libva-x11.la \
- $(X11_LIBS)
+ $(X11_LIBS) \
+ -lpthread
valgrind: $(bin_PROGRAMS)
for a in $(bin_PROGRAMS); do \