]> code.ossystems Code Review - openembedded-core.git/blob
8622df3ea8b96f0dadd1ffa0dc3058e40ec85310
[openembedded-core.git] /
1 From e20dbdb0b8f0af840ef90b299c4e2277c52ddf87 Mon Sep 17 00:00:00 2001
2 From: Hongxu Jia <hongxu.jia@windriver.com>
3 Date: Sun, 12 Jun 2016 04:44:29 -0400
4 Subject: [PATCH 4/4] tests/Makefile.am: fix undefined reference to
5  `pthread_create'
6
7 Add missing '-lpthread' to CFLAGS
8
9 Upstream-Status: Pending
10
11 Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
12 ---
13  tests/Makefile.am | 2 +-
14  1 file changed, 1 insertion(+), 1 deletion(-)
15
16 diff --git a/tests/Makefile.am b/tests/Makefile.am
17 index 1744ea7..04cf425 100644
18 --- a/tests/Makefile.am
19 +++ b/tests/Makefile.am
20 @@ -64,4 +64,4 @@ EXTRA_DIST = README rsa-16k.key cavs_tests.sh cavs_driver.pl \
21  
22  LDADD = $(standard_ldadd) $(GPG_ERROR_LIBS)
23  t_lock_LDADD = $(standard_ldadd) $(GPG_ERROR_MT_LIBS)
24 -t_lock_CFLAGS = $(GPG_ERROR_MT_CFLAGS)
25 +t_lock_CFLAGS = $(GPG_ERROR_MT_CFLAGS) -lpthread
26 -- 
27 1.8.3.1
28