aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-02-06 22:19:59 +0100
committerMax Kellermann <max@duempel.org>2014-02-06 22:19:59 +0100
commitc8f0c7e9ede1cfef49ea9d4b71b6b56b4ae87141 (patch)
tree85adef73380393703c71202f20601d99df135b00 /Makefile.am
parenta7989077abe2b862b131b7573380a82f889bad95 (diff)
downloadmpd-c8f0c7e9ede1cfef49ea9d4b71b6b56b4ae87141.tar.gz
mpd-c8f0c7e9ede1cfef49ea9d4b71b6b56b4ae87141.tar.xz
mpd-c8f0c7e9ede1cfef49ea9d4b71b6b56b4ae87141.zip
*/smbclient: protect all libsmbclient calls with a mutex
libsmbclient is not thread-safe nor reentrant. We must protect all function calls with a global mutex, unfortunately.
Diffstat (limited to '')
-rw-r--r--Makefile.am1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index c8d6a0219..af2d491ed 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -415,6 +415,7 @@ libfs_a_SOURCES = \
SMBCLIENT_SOURCES = \
src/lib/smbclient/Domain.cxx src/lib/smbclient/Domain.hxx \
+ src/lib/smbclient/Mutex.cxx src/lib/smbclient/Mutex.hxx \
src/lib/smbclient/Init.cxx src/lib/smbclient/Init.hxx
if ENABLE_DATABASE