Hi

I have contacted upstream about it, he committed to 3.1 branch and
solved this problem.

I have attached patch coming from his commit

Reference:
http://bugs.squid-cache.org/show_bug.cgi?id=3151
http://bazaar.launchpad.net/~squid/squid/3.1/revision/10231
-- 
Mahyuddin Susanto (udienz)
https://launchpad.net/~udienz http://tripledin.wordpress.com/
#! /bin/sh /usr/share/dpatch/dpatch-run
## Description: use autoconf LIBS instead of LDFLAGS for library linkage
## Origin: http://bazaar.launchpad.net/~squid/squid/3.1/revision/10231
## Bug-Ubuntu: https://launchpad.net/bugs/717653
## Bug-Debian: http://bugs.debian.org/613153
## Bug: http://bugs.squid-cache.org/show_bug.cgi?id=3151

@DPATCH@
diff -urNad 
squid3-3.1.10-1ubuntu1~/helpers/negotiate_auth/squid_kerb_auth/configure.ac 
squid3-3.1.10-1ubuntu1/helpers/negotiate_auth/squid_kerb_auth/configure.ac
--- squid3-3.1.10-1ubuntu1~/helpers/negotiate_auth/squid_kerb_auth/configure.ac 
2010-12-22 12:46:56.000000000 +0700
+++ squid3-3.1.10-1ubuntu1/helpers/negotiate_auth/squid_kerb_auth/configure.ac  
2011-02-15 17:58:13.058699643 +0700
@@ -93,7 +93,7 @@
                        else
                          ac_gssapi_libs=`krb5-config --libs gssapi 2>/dev/null`
                          if test "x$ac_gssapi_libs" != "x" ; then
-                           LDFLAGS="$LDFLAGS $ac_gssapi_libs"
+                           LIBS="$LIBS $ac_gssapi_libs"
                          else
                            for lib in $ac_gss_libs; do
                              AC_CHECK_LIB($lib,main)
@@ -117,7 +117,7 @@
                      fi
                      ac_gssapi_libs=`krb5-config --libs gssapi 2>/dev/null`
                      if test "x$ac_gssapi_libs" != "x" ; then
-                         LDFLAGS="$LDFLAGS $ac_gssapi_libs"
+                         LIBS="$LIBS $ac_gssapi_libs"
                      else
                          for lib in $ac_gss_libs; do
                             AC_CHECK_LIB($lib,main)
@@ -171,7 +171,7 @@
                              ac_libdir=`echo $ac_gssapi_libs | sed -e 
's/.*-L//' | sed -e 's/ .*//'`  
                              LDFLAGS="$LDFLAGS $w_flag$ac_libdir$w_flag_2"
                            fi
-                           LDFLAGS="$LDFLAGS $ac_gssapi_libs"
+                           LIBS="$LIBS $ac_gssapi_libs"
                          else
                            for lib in $ac_gss_libs; do
                              AC_CHECK_LIB($lib,main)
@@ -200,7 +200,7 @@
                            ac_libdir=`echo $ac_gssapi_libs | sed -e 's/.*-L//' 
| sed -e 's/ .*//'`  
                            LDFLAGS="$LDFLAGS $w_flag$ac_libdir$w_flag_2"
                          fi
-                         LDFLAGS="$LDFLAGS $ac_gssapi_libs"
+                         LIBS="$LIBS $ac_gssapi_libs"
                      else
                          for lib in $ac_gss_libs; do
                             AC_CHECK_LIB($lib,main)

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to