diff options
author | NIIBE Yutaka <[email protected]> | 2021-11-12 01:22:21 +0000 |
---|---|---|
committer | NIIBE Yutaka <[email protected]> | 2021-11-12 01:22:21 +0000 |
commit | 1cedac2bba246ff411843aaef10ca8ea0a0756cf (patch) | |
tree | 98d8641ee551eec2db9cbf3b6996e3aedf116ae1 /src/posix-io.c | |
parent | tests: Use GPG_ERROR_MT_LIBS for a test with threads. (diff) | |
download | gpgme-1cedac2bba246ff411843aaef10ca8ea0a0756cf.tar.gz gpgme-1cedac2bba246ff411843aaef10ca8ea0a0756cf.zip |
tests: Build using GPG_ERROR_MT_LIBS for thread use.
* tests/gpg/Makefile.am (WITH_THREAD_CPPFLAGS): New.
(WITH_THREAD_LDADD): New.
(t_thread1_CPPFLAGS, t_thread_keylist_CPPFLAGS)
(t_thread_keylist_verify_CPPFLAGS)
(t_cancel_CPPFLAGS): Use WITH_THREAD_CPPFLAGS.
(t_thread1_LDADD, t_thread_keylist_LDADD)
(t_thread_keylist_verify_LDADD)
(t_cancel_LDADD): Use WITH_THREAD_LDADD.
--
For library dependency at runtime, it's not 100% right to use
GPG_ERROR_MT_LIBS here, because those test programs don't use
libgpg-error directly at runtime. But, it's OK, because these are
test programs, which don't need specifying minimum library dependency.
It would be too much for configure of gpgme, to check how threaded
application should be built, just for these test programs.
Co-authored-by: Ben Kibbey <[email protected]>
Signed-off-by: NIIBE Yutaka <[email protected]>
Diffstat (limited to 'src/posix-io.c')
0 files changed, 0 insertions, 0 deletions