File sudo-1.6.9p17-ldap.diff of Package sudo
Index: configure.in
===================================================================
--- configure.in.orig
+++ configure.in
@@ -2330,7 +2330,7 @@ if test ${with_ldap-'no'} != "no"; then
SUDO_LIBS="${SUDO_LIBS} ${LDAP_LIBS}"
LIBS="$_LIBS"
- LDFLAGS="$_LDFLAGS"
+ LDFLAGS="${LDFLAGS} $_LDFLAGS"
# XXX - OpenLDAP has deprecated ldap_get_values()
CPPFLAGS="${CPPFLAGS} -DLDAP_DEPRECATED"
fi