summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2017-07-03 08:55:02 +0200
committerDaniel Stenberg <daniel@haxx.se>2017-07-03 08:55:02 +0200
commit3f430ec4a6f5fd304fa21f085dc173fe368568c3 (patch)
treea903f1769ee7034133e1e8f08a6b4b868f2f6a68
parent3a48a132685ca891ce1b7a10bbcd4b4cd33cee5e (diff)
downloadcurl-bagder/configure-ldap-lber.tar.gz
configure: try ldap/lber in reversed order firstbagder/configure-ldap-lber
When scanning for which LDAP libraries to use, try the -lldap -llber combination before the reversed order since it has a greater chance of working when linking with libcurl statically. Fixes #1619 Reported-by: David E. Narváez
-rw-r--r--acinclude.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index 1e1cf790c..fe0e020b0 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -790,8 +790,8 @@ AC_DEFUN([CURL_CHECK_LIBS_LDAP], [
#
for x_nlibs in '' "$u_libs" \
'-lldap' \
- '-llber -lldap' \
'-lldap -llber' \
+ '-llber -lldap' \
'-lldapssl -lldapx -lldapsdk' \
'-lldapsdk -lldapx -lldapssl' ; do
if test "$curl_cv_ldap_LIBS" = "unknown"; then