From: Zhao Yakui Date: Wed, 1 Aug 2012 19:52:56 +0000 (-0400) Subject: test/avcenc: link with -lpthread. X-Git-Tag: android-x86-7.1-r1~402 X-Git-Url: http://git.osdn.net/view?p=android-x86%2Fhardware-intel-common-libva.git;a=commitdiff_plain;h=be23f651ed8dfc57953a654ee39f25fae114a127 test/avcenc: link with -lpthread. 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 --- diff --git a/test/encode/Makefile.am b/test/encode/Makefile.am index 8947850..5505c77 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