blob: e7de8badf837947e5c41e03557fb318312fa4967 [file] [log] [blame]
Patrick Williamsc0f7c042017-02-23 20:41:17 -06001From cc0e2b403d33892963513a3ba98e4ae5a05a4d3c Mon Sep 17 00:00:00 2001
2From: Hongxu Jia <hongxu.jia@windriver.com>
3Date: Sun, 12 Jun 2016 04:44:29 -0400
4Subject: [PATCH] tests/Makefile.am: fix undefined reference to `pthread_create'
5
6Add missing '-lpthread' to CFLAGS
7
8Upstream-Status: Pending
9
10Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
11---
12 tests/Makefile.am | 2 +-
13 1 file changed, 1 insertion(+), 1 deletion(-)
14
15diff --git a/tests/Makefile.am b/tests/Makefile.am
16index d462f30..bef6dd7 100644
17--- a/tests/Makefile.am
18+++ b/tests/Makefile.am
19@@ -62,4 +62,4 @@ EXTRA_DIST = README rsa-16k.key cavs_tests.sh cavs_driver.pl \
20
21 LDADD = $(standard_ldadd) $(GPG_ERROR_LIBS)
22 t_lock_LDADD = $(standard_ldadd) $(GPG_ERROR_MT_LIBS)
23-t_lock_CFLAGS = $(GPG_ERROR_MT_CFLAGS)
24+t_lock_CFLAGS = $(GPG_ERROR_MT_CFLAGS) -lpthread
25--
262.8.1
27