summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/meson.build6
1 files changed, 4 insertions, 2 deletions
diff --git a/common/meson.build b/common/meson.build
index 4614bcb..656592a 100644
--- a/common/meson.build
+++ b/common/meson.build
@@ -31,7 +31,8 @@ libp11_library = static_library('p11-library', 'library.c',
libp11_library_dep = declare_dependency(include_directories: [configinc,
commoninc],
- link_with: libp11_library)
+ link_with: libp11_library,
+ dependencies: thread_deps)
libp11_test_sources = [
'mock.c',
@@ -42,7 +43,8 @@ libp11_test = static_library('p11-test', libp11_test_sources,
include_directories: configinc)
libp11_test_dep = declare_dependency(include_directories: [configinc,
commoninc],
- link_with: libp11_test)
+ link_with: libp11_test,
+ dependencies: thread_deps)
libp11_tool_sources = [
'tool.c'