aboutsummaryrefslogtreecommitdiff
path: root/lib/Makefile.local
diff options
context:
space:
mode:
authorDavid Bremner <david@tethera.net>2021-05-09 17:33:48 -0300
committerDavid Bremner <david@tethera.net>2021-05-13 22:21:57 -0300
commit8410be8e0867820c9814d06b49ff6da822d384a3 (patch)
tree7e5f132d32eba50b3688d37d96a9f685e1216209 /lib/Makefile.local
parenta34d7b41444ad2fb50cc7def25659c88d439780a (diff)
lib: make glib initialization thread-safe
In principle this could be done without depending on C++11 features, but these features should be available since gcc 4.8.1, and this localized usage is easy to replace if it turns out to be problematic for portability.
Diffstat (limited to 'lib/Makefile.local')
-rw-r--r--lib/Makefile.local3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Makefile.local b/lib/Makefile.local
index 01cbb3f2..e2d4b91d 100644
--- a/lib/Makefile.local
+++ b/lib/Makefile.local
@@ -62,7 +62,8 @@ libnotmuch_cxx_srcs = \
$(dir)/thread-fp.cc \
$(dir)/features.cc \
$(dir)/prefix.cc \
- $(dir)/open.cc
+ $(dir)/open.cc \
+ $(dir)/init.cc
libnotmuch_modules := $(libnotmuch_c_srcs:.c=.o) $(libnotmuch_cxx_srcs:.cc=.o)