test/avcenc: link with -lpthread.
authorZhao Yakui <yakui.zhao@intel.com>
Wed, 1 Aug 2012 19:52:56 +0000 (15:52 -0400)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Wed, 1 Aug 2012 08:28:52 +0000 (10:28 +0200)
Otherwise it will complain during compiling:
usr/bin/ld: avcenc.o: undefined reference to symbol 'pthread_create@@GLIBC_2.2.5'
/usr/bin/ld: note: 'pthread_create@@GLIBC_2.2.5' is defined in DSO

Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
test/encode/Makefile.am

index 942c068..94e5edf 100644 (file)
@@ -43,7 +43,7 @@ TEST_LIBS = \
 h264encode_LDADD = $(TEST_LIBS)
 h264encode_SOURCES = h264encode_x11.c
 
-avcenc_LDADD           = $(TEST_LIBS)
+avcenc_LDADD           = $(TEST_LIBS) -lpthread
 avcenc_SOURCES         = avcenc.c
 avcenc_DEPENDENCIES    = $(libva_helpers)