mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-14 21:47:19 +02:00
* configure.ac: Try linking LDAP without -lresolv first, just in case the
platform has libresolv, but doesn't actually need it to use LDAP.
This commit is contained in:
parent
d29d483e5f
commit
3643188d72
2 changed files with 7 additions and 1 deletions
|
@ -360,7 +360,7 @@ AC_CHECK_FUNC(setsockopt, , AC_CHECK_LIB(socket, setsockopt,
|
|||
# is for Mozilla LDAP.
|
||||
|
||||
if test "$try_ldap" = yes ; then
|
||||
for LDAPLIBS in "-lldap -llber -lresolv" "-lldap -llber" "-lldapssl41"; do
|
||||
for LDAPLIBS in "-lldap -llber" "-lldap -llber -lresolv" "-lldapssl41"; do
|
||||
_ldap_save_libs=$LIBS
|
||||
LIBS="$LDAPLIBS $NETLIBS $LIBS"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue