diff options
Diffstat (limited to 'meta/recipes-support/libgcrypt/files/0004-tests-Makefile.am-fix-undefined-reference-to-pthread.patch')
-rw-r--r-- | meta/recipes-support/libgcrypt/files/0004-tests-Makefile.am-fix-undefined-reference-to-pthread.patch | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/meta/recipes-support/libgcrypt/files/0004-tests-Makefile.am-fix-undefined-reference-to-pthread.patch b/meta/recipes-support/libgcrypt/files/0004-tests-Makefile.am-fix-undefined-reference-to-pthread.patch index 5bf0c7f8a3..4233fa7877 100644 --- a/meta/recipes-support/libgcrypt/files/0004-tests-Makefile.am-fix-undefined-reference-to-pthread.patch +++ b/meta/recipes-support/libgcrypt/files/0004-tests-Makefile.am-fix-undefined-reference-to-pthread.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From cb06d218ee36e303a64f27c690f30040d5d87960 Mon Sep 17 00:00:00 2001 | 1 | From 9182bc2dc676858a823c477d8f45a578b8c4f69f Mon Sep 17 00:00:00 2001 |
2 | From: Hongxu Jia <hongxu.jia@windriver.com> | 2 | From: Hongxu Jia <hongxu.jia@windriver.com> |
3 | Date: Sun, 12 Jun 2016 04:44:29 -0400 | 3 | Date: Sun, 12 Jun 2016 04:44:29 -0400 |
4 | Subject: [PATCH] tests/Makefile.am: fix undefined reference to | 4 | Subject: [PATCH] tests/Makefile.am: fix undefined reference to |
@@ -11,14 +11,14 @@ Upstream-Status: Pending | |||
11 | Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> | 11 | Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> |
12 | 12 | ||
13 | --- | 13 | --- |
14 | tests/Makefile.am | 2 +- | 14 | tests/Makefile.am | 4 ++-- |
15 | 1 file changed, 1 insertion(+), 1 deletion(-) | 15 | 1 file changed, 2 insertions(+), 2 deletions(-) |
16 | 16 | ||
17 | diff --git a/tests/Makefile.am b/tests/Makefile.am | 17 | diff --git a/tests/Makefile.am b/tests/Makefile.am |
18 | index ab201f0..1cf82d0 100644 | 18 | index e6953fd..f47e1d3 100644 |
19 | --- a/tests/Makefile.am | 19 | --- a/tests/Makefile.am |
20 | +++ b/tests/Makefile.am | 20 | +++ b/tests/Makefile.am |
21 | @@ -75,7 +75,7 @@ t_mpi_bit_LDADD = $(standard_ldadd) @LDADD_FOR_TESTS_KLUDGE@ | 21 | @@ -76,7 +76,7 @@ t_mpi_bit_LDADD = $(standard_ldadd) @LDADD_FOR_TESTS_KLUDGE@ |
22 | t_secmem_LDADD = $(standard_ldadd) @LDADD_FOR_TESTS_KLUDGE@ | 22 | t_secmem_LDADD = $(standard_ldadd) @LDADD_FOR_TESTS_KLUDGE@ |
23 | testapi_LDADD = $(standard_ldadd) @LDADD_FOR_TESTS_KLUDGE@ | 23 | testapi_LDADD = $(standard_ldadd) @LDADD_FOR_TESTS_KLUDGE@ |
24 | t_lock_LDADD = $(standard_ldadd) $(GPG_ERROR_MT_LIBS) @LDADD_FOR_TESTS_KLUDGE@ | 24 | t_lock_LDADD = $(standard_ldadd) $(GPG_ERROR_MT_LIBS) @LDADD_FOR_TESTS_KLUDGE@ |
@@ -27,3 +27,12 @@ index ab201f0..1cf82d0 100644 | |||
27 | testdrv_LDADD = $(LDADD_FOR_TESTS_KLUDGE) | 27 | testdrv_LDADD = $(LDADD_FOR_TESTS_KLUDGE) |
28 | 28 | ||
29 | # Build a version of the test driver for the build platform. | 29 | # Build a version of the test driver for the build platform. |
30 | @@ -95,7 +95,7 @@ else | ||
31 | xtestsuite_libs = ../src/.libs/libgcrypt.so* | ||
32 | xtestsuite_driver = testdrv | ||
33 | t_kdf_LDADD = $(standard_ldadd) $(GPG_ERROR_MT_LIBS) @LDADD_FOR_TESTS_KLUDGE@ | ||
34 | -t_kdf_CFLAGS = $(GPG_ERROR_MT_CFLAGS) | ||
35 | +t_kdf_CFLAGS = $(GPG_ERROR_MT_CFLAGS) -lpthread | ||
36 | endif | ||
37 | |||
38 | # xcheck uses our new testdrv instead of the automake test runner. | ||