aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2017-07-04 11:33:51 +0200
committerDaniel Stenberg <daniel@haxx.se>2017-07-04 11:33:55 +0200
commitc53438481068cf712fc96e97205acb8df489894d (patch)
treef8881e5020f2ceaeb3e87caaa4476453b083ae6a
parent909a5bee81a32ceecbf23a15fd8a48879a84b6dc (diff)
configure: try ldap/lber in reversed order first
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 Closes #1634 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