summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/libgcrypt/files/fix-undefined-reference-to-pthread.patch
diff options
context:
space:
mode:
authorHongxu Jia <hongxu.jia@windriver.com>2016-06-13 05:16:30 -0400
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-06-15 08:35:02 +0100
commitf81a018089f9b92d08b6a0333c9fb75b9e6824e2 (patch)
treebbac4eccddd0db2f85c87573d28ddb6e212c7124 /meta/recipes-support/libgcrypt/files/fix-undefined-reference-to-pthread.patch
parent72e560e96926879a45480f1d5feac20665f51993 (diff)
downloadpoky-f81a018089f9b92d08b6a0333c9fb75b9e6824e2.tar.gz
libgcrypt: upgrade to 1.7.0
- Add fix-undefined-reference-to-pthread.patch to fix undefined reference to `pthread_create' (From OE-Core rev: f9ed35ec4aeca0a37e8b00a0b185abf1b87db0d1) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/libgcrypt/files/fix-undefined-reference-to-pthread.patch')
-rw-r--r--meta/recipes-support/libgcrypt/files/fix-undefined-reference-to-pthread.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/meta/recipes-support/libgcrypt/files/fix-undefined-reference-to-pthread.patch b/meta/recipes-support/libgcrypt/files/fix-undefined-reference-to-pthread.patch
new file mode 100644
index 0000000000..e7de8badf8
--- /dev/null
+++ b/meta/recipes-support/libgcrypt/files/fix-undefined-reference-to-pthread.patch
@@ -0,0 +1,27 @@
1From 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