From 86484495155e65fd8ac33ed3ede43fb42defd966 Mon Sep 17 00:00:00 2001 From: Gwenole Beauchesne Date: Tue, 9 Oct 2012 06:21:59 +0200 Subject: [PATCH] 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 --- test/encode/Makefile.am | 3 ++- test/transcode/Makefile.am | 3 ++- 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 \ -- 2.7.4