mirror of
https://github.com/moparisthebest/curl
synced 2025-03-11 07:39:50 -04:00
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
This commit is contained in:
parent
909a5bee81
commit
c534384810
@ -790,8 +790,8 @@ AC_DEFUN([CURL_CHECK_LIBS_LDAP], [
|
|||||||
#
|
#
|
||||||
for x_nlibs in '' "$u_libs" \
|
for x_nlibs in '' "$u_libs" \
|
||||||
'-lldap' \
|
'-lldap' \
|
||||||
'-llber -lldap' \
|
|
||||||
'-lldap -llber' \
|
'-lldap -llber' \
|
||||||
|
'-llber -lldap' \
|
||||||
'-lldapssl -lldapx -lldapsdk' \
|
'-lldapssl -lldapx -lldapsdk' \
|
||||||
'-lldapsdk -lldapx -lldapssl' ; do
|
'-lldapsdk -lldapx -lldapssl' ; do
|
||||||
if test "$curl_cv_ldap_LIBS" = "unknown"; then
|
if test "$curl_cv_ldap_LIBS" = "unknown"; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user