summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Scheck <robert@fedoraproject.org>2021-12-28 20:11:54 +0100
committerSadie Powell <sadie@witchery.services>2021-12-28 19:20:03 +0000
commit7a28d81b441e5c29f0e0a988306f7c5988bf20c6 (patch)
treef5cec461b5a2509c2d3f8b2b543f400129880a53
parent69dbcba069db62393f2aa2868662a7fd2073d31b (diff)
Reflect OpenLDAP 2.5 upstream change from libldap_r to libldap
Starting with OpenLDAP 2.5 upstream decided to merge the non-threaded libldap_r library into the threaded libldap library. And starting with OpenLDAP 2.6 common Linux distributions such as Fedora do not ship the compatibility symbolic link anymore (which leads to a build failure), thus the linking tests for libldap_r and uses alternatively libldap. See also: - https://lists.openldap.org/hyperkitty/list/openldap-announce@openldap.org/thread/BH3VDPG6IYYF5L5U6LZGHHKMJY5HFA3L/ - https://bugzilla.redhat.com/show_bug.cgi?id=2032707
-rw-r--r--modules/extra/m_ldap.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/extra/m_ldap.cpp b/modules/extra/m_ldap.cpp
index 34f1310c4..a462c46b1 100644
--- a/modules/extra/m_ldap.cpp
+++ b/modules/extra/m_ldap.cpp
@@ -9,8 +9,8 @@
* 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"