[PATCH] configure: Check for libldap instead of libldap_r.
Hans Leidekker
hans at codeweavers.com
Mon Dec 13 04:24:02 CST 2021
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52140
Signed-off-by: Hans Leidekker <hans at codeweavers.com>
---
configure.ac | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/configure.ac b/configure.ac
index de79b47ea2a..c1eb2f99a8c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2017,12 +2017,12 @@ dnl **** Check for OpenLDAP ***
if test "x$with_ldap" != "xno"
then
dnl Actually there's no pkg-config support for ldap, but this way we can still override the flags
- WINE_PACKAGE_FLAGS(LDAP,[openldap],[-lldap_r -llber],,,
+ WINE_PACKAGE_FLAGS(LDAP,[openldap],[-lldap -llber],,,
[AC_CHECK_HEADERS([ldap.h lber.h])
if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
then
AC_CHECK_TYPE(LDAPSortKey,
- [AC_CHECK_LIB(ldap_r, ldap_initialize,
+ [AC_CHECK_LIB(ldap, ldap_initialize,
[AC_CHECK_LIB(lber, ber_init,
[AC_DEFINE(HAVE_LDAP, 1, [Define if you have the OpenLDAP development environment])],
[LDAP_LIBS=""],
--
2.30.2
More information about the wine-devel
mailing list