From 3f430ec4a6f5fd304fa21f085dc173fe368568c3 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 3 Jul 2017 08:55:02 +0200 Subject: configure: try ldap/lber in reversed order first MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- acinclude.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.1