forked from pool/libgcrypt
Pedro Monreal Gonzalez
b49d3291e1
- Fix building test t-lock with pthread. [bsc#1189745] * Explicitly add -lpthread to compile the t-lock test. * Add libgcrypt-pthread-in-t-lock-test.patch OBS-URL: https://build.opensuse.org/request/show/913985 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libgcrypt?expand=0&rev=151
14 lines
687 B
Diff
14 lines
687 B
Diff
Index: libgcrypt-1.9.3/tests/Makefile.am
|
|
===================================================================
|
|
--- libgcrypt-1.9.3.orig/tests/Makefile.am
|
|
+++ libgcrypt-1.9.3/tests/Makefile.am
|
|
@@ -74,7 +74,7 @@ prime_LDADD = $(standard_ldadd) @LDADD_F
|
|
t_mpi_bit_LDADD = $(standard_ldadd) @LDADD_FOR_TESTS_KLUDGE@
|
|
t_secmem_LDADD = $(standard_ldadd) @LDADD_FOR_TESTS_KLUDGE@
|
|
testapi_LDADD = $(standard_ldadd) @LDADD_FOR_TESTS_KLUDGE@
|
|
-t_lock_LDADD = $(standard_ldadd) $(GPG_ERROR_MT_LIBS) @LDADD_FOR_TESTS_KLUDGE@
|
|
+t_lock_LDADD = $(standard_ldadd) $(GPG_ERROR_MT_LIBS) -lpthread @LDADD_FOR_TESTS_KLUDGE@
|
|
t_lock_CFLAGS = $(GPG_ERROR_MT_CFLAGS)
|
|
testdrv_LDADD = $(LDADD_FOR_TESTS_KLUDGE)
|
|
|