File squid-2.6.STABLE2-ldflags.patch of Package squid

Index: squid-2.7.STABLE6/configure.in
===================================================================
--- squid-2.7.STABLE6.orig/configure.in
+++ squid-2.7.STABLE6/configure.in
@@ -2923,6 +2923,7 @@ mingw|mingw32)
   ;;
 esac
 AC_MSG_RESULT($SQUID_MAXFD)
+LDFLAGS="$TLDFLAGS $PRESET_LDFLAGS"
 fi # --with-maxfd SQUID_MAXFD
 AC_DEFINE_UNQUOTED(SQUID_MAXFD, $SQUID_MAXFD, [Maximum number of open filedescriptors])
 if test "$SQUID_MAXFD" -lt 512 ; then
@@ -2932,7 +2933,6 @@ if test "$SQUID_MAXFD" -lt 512 ; then
     echo "         on how to increase your filedescriptor limit"
     sleep 10
 fi
-LDFLAGS="$TLDFLAGS"
 
 dnl Not cached since people are likely to tune this
 AC_MSG_CHECKING(Default UDP send buffer size)
openSUSE Build Service is sponsored by