tests: Use GPG_ERROR_MT_LIBS for a test with threads.
* tests/Makefile.am (run_threaded_CPPFLAGS): New.
(run_threaded_LDADD): Replace GPG_ERROR_LIBS to GPG_ERROR_MT_LIBS.
--
Reported-by: Ben Kibbey <bjk@luxsci.net>
Fixes-commit: d0402f886b
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
This commit is contained in:
parent
50daf3d75d
commit
8cd2fe7b3d
@ -37,8 +37,9 @@ noinst_PROGRAMS = $(TESTS) run-keylist run-export run-import run-sign \
|
||||
run-verify run-encrypt run-identify run-decrypt run-genkey \
|
||||
run-keysign run-tofu run-swdb run-threaded
|
||||
|
||||
run_threaded_LDADD = ../src/libgpgme.la -lpthread @GPG_ERROR_LIBS@ \
|
||||
@LDADD_FOR_TESTS_KLUDGE@
|
||||
run_threaded_CPPFLAGS = -I$(top_builddir)/src @GPG_ERROR_MT_CFLAGS@
|
||||
run_threaded_LDADD = ../src/libgpgme.la \
|
||||
@GPG_ERROR_MT_LIBS@ @LDADD_FOR_TESTS_KLUDGE@
|
||||
|
||||
if RUN_GPG_TESTS
|
||||
gpgtests = gpg json
|
||||
|
Loading…
Reference in New Issue
Block a user