]> granicus.if.org Git - sudo/commitdiff
Fix preservation of LDFLAGS in the LDAP case.
authorTodd C. Miller <Todd.Miller@courtesan.com>
Tue, 19 Jun 2007 21:21:38 +0000 (21:21 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Tue, 19 Jun 2007 21:21:38 +0000 (21:21 +0000)
configure.in

index dec6e1c3b6daa3cc090ee237e8285d64d88419f2..61c881cfd4af4c3c896b8db4c6ad9937807df65c 100644 (file)
@@ -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