summaryrefslogtreecommitdiff
path: root/src/modules/extra/m_ldap.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2014-12-07 15:47:00 -0500
committerAttila Molnar <attilamolnar@hush.com>2014-12-07 23:56:08 +0100
commit7cb79020b7a9d7431d3038953c8e05ec0f2158c7 (patch)
treebae71691a11f22a74d40a766fd13dc9c6f1ac68d /src/modules/extra/m_ldap.cpp
parentd5bb26a391965f8c1a4bb4708abe768e81086927 (diff)
Link m_ldap against libldap_r
Diffstat (limited to 'src/modules/extra/m_ldap.cpp')
-rw-r--r--src/modules/extra/m_ldap.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/extra/m_ldap.cpp b/src/modules/extra/m_ldap.cpp
index 9f8d68427..d696fadfb 100644
--- a/src/modules/extra/m_ldap.cpp
+++ b/src/modules/extra/m_ldap.cpp
@@ -23,11 +23,11 @@
#include <ldap.h>
#ifdef _WIN32
-# pragma comment(lib, "libldap.lib")
+# pragma comment(lib, "libldap_r.lib")
# pragma comment(lib, "liblber.lib")
#endif
-/* $LinkerFlags: -lldap */
+/* $LinkerFlags: -lldap_r */
class LDAPService : public LDAPProvider, public SocketThread
{