diff options
author | NIIBE Yutaka <[email protected]> | 2021-11-11 01:08:59 +0000 |
---|---|---|
committer | NIIBE Yutaka <[email protected]> | 2021-11-11 01:08:59 +0000 |
commit | 8cd2fe7b3de4abd2331bcb637b7e2c26ce4faa29 (patch) | |
tree | eb2438b53fc56e70bfcb6b612a1f1c4136876416 | |
parent | libtool: Link without -flat_namespace for macOS. (diff) | |
download | gpgme-8cd2fe7b3de4abd2331bcb637b7e2c26ce4faa29.tar.gz gpgme-8cd2fe7b3de4abd2331bcb637b7e2c26ce4faa29.zip |
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 <[email protected]>
Fixes-commit: d0402f886b720d03369887c807581bd980ee70cf
Signed-off-by: NIIBE Yutaka <[email protected]>
-rw-r--r-- | tests/Makefile.am | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am index 8950e965..e4346576 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -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 |