summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>2012-10-09 06:21:59 +0200
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>2012-10-09 06:21:59 +0200
commit86484495155e65fd8ac33ed3ede43fb42defd966 (patch)
treed1ba56c02a16390b46bb749da34f5f458a754f0b
parent11ef676d6722b5d203b2eff2639de515510c5673 (diff)
downloadlibva-86484495155e65fd8ac33ed3ede43fb42defd966.tar.gz
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 <gwenole.beauchesne@intel.com>
-rw-r--r--test/encode/Makefile.am3
-rw-r--r--test/transcode/Makefile.am3
2 files changed, 4 insertions, 2 deletions
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 \