From: Todd C. Miller Date: Tue, 19 Jun 2007 21:21:38 +0000 (+0000) Subject: Fix preservation of LDFLAGS in the LDAP case. X-Git-Tag: SUDO_1_7_0~538 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d1702ca4cbedc5ba8611da9187a73af601ddf109;p=sudo Fix preservation of LDFLAGS in the LDAP case. --- diff --git a/configure.in b/configure.in index dec6e1c3b..61c881cfd 100644 --- a/configure.in +++ b/configure.in @@ -2161,9 +2161,9 @@ dnl dnl extra lib and .o file for LDAP support dnl if test -n "$with_ldap"; then + _LDFLAGS="$LDFLAGS" if test "$with_ldap" != "yes"; then SUDO_APPEND_LIBPATH(SUDO_LDFLAGS, [${with_ldap}/lib]) - _LDFLAGS="$LDFLAGS" SUDO_APPEND_LIBPATH(LDFLAGS, [${with_ldap}/lib]) CPPFLAGS="${CPPFLAGS} -I${with_ldap}/include" with_ldap=yes