From: Gwenole Beauchesne Date: Tue, 9 Oct 2012 04:21:59 +0000 (+0200) Subject: tests: add missing -lpthread link option. X-Git-Tag: accepted/2.0/20130307.024053~6 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=86484495155e65fd8ac33ed3ede43fb42defd966;p=profile%2Fivi%2Flibva.git tests: add missing -lpthread link option. 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 --- diff --git a/test/encode/Makefile.am b/test/encode/Makefile.am index db7f13c..2d4cc81 100644 --- a/test/encode/Makefile.am +++ b/test/encode/Makefile.am @@ -41,7 +41,8 @@ avcenc_SOURCES = avcenc.c 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 diff --git a/test/transcode/Makefile.am b/test/transcode/Makefile.am index 1a79b16..feccf55 100644 --- a/test/transcode/Makefile.am +++ b/test/transcode/Makefile.am @@ -29,7 +29,8 @@ mpeg2transcode_CFLAGS = -I$(top_srcdir) $(X11_CFLAGS) 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 \