diff options
author | Sadie Powell <sadie@witchery.services> | 2022-01-03 15:36:59 +0000 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2022-01-03 15:50:22 +0000 |
commit | fd1ca96e2c1013cc747f0bc6def1e5da13b44386 (patch) | |
tree | 9f4e8449d8236395fc02333d9b595b2411afbc51 /modules/extra/m_ldap.cpp | |
parent | 6a7488edc10b8c363c784ac8b342fae8cf0f7e75 (diff) | |
parent | 2c18601d8f3a3b5ab8ddb3ecdd90a2c69c7fbc88 (diff) |
Merge branch '2.0' into 2.1.
Diffstat (limited to 'modules/extra/m_ldap.cpp')
-rw-r--r-- | modules/extra/m_ldap.cpp | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/modules/extra/m_ldap.cpp b/modules/extra/m_ldap.cpp index 34f1310c4..1005d2efe 100644 --- a/modules/extra/m_ldap.cpp +++ b/modules/extra/m_ldap.cpp @@ -9,13 +9,18 @@ * Based on the original code of Services by Andy Church. */ -/* RequiredLibraries: ldap_r,lber */ -/* RequiredWindowsLibraries: libldap_r,liblber */ +/* RequiredLibraries: ldap_r|ldap,lber */ +/* RequiredWindowsLibraries: libldap_r|libldap,liblber */ #include "module.h" #include "modules/ldap.h" #include <ldap.h> +#if defined LDAP_API_FEATURE_X_OPENLDAP_REENTRANT && !LDAP_API_FEATURE_X_OPENLDAP_REENTRANT +# error Anope requires OpenLDAP to be built as reentrant. +#endif + + class LDAPService; static Pipe *me; |