diff options
author | Max Kellermann <max@duempel.org> | 2014-02-06 22:19:59 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-02-06 22:19:59 +0100 |
commit | c8f0c7e9ede1cfef49ea9d4b71b6b56b4ae87141 (patch) | |
tree | 85adef73380393703c71202f20601d99df135b00 /Makefile.am | |
parent | a7989077abe2b862b131b7573380a82f889bad95 (diff) | |
download | mpd-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.am | 1 |
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 |