Fix serf config

From: David Rothenberger <daveroth@acm.org>


---
 build/ac-macros/serf.m4 |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/build/ac-macros/serf.m4 b/build/ac-macros/serf.m4
index 0a549b3..61d9990 100644
--- a/build/ac-macros/serf.m4
+++ b/build/ac-macros/serf.m4
@@ -170,8 +170,7 @@ AC_DEFUN(SVN_SERF_PKG_CONFIG,
           serf_found=yes
           SVN_SERF_INCLUDES=[`$PKG_CONFIG $serf_pc_arg --cflags-only-I`]
           SVN_SERF_LIBS=[`$PKG_CONFIG $serf_pc_arg --libs-only-l`]
-          dnl don't use --libs-only-L because then we might miss some options
-          LDFLAGS=["$LDFLAGS `$PKG_CONFIG $serf_pc_arg --libs | $SED -e 's/-l[^ ]*//g'`"]
+          LDFLAGS=["$LDFLAGS `$PKG_CONFIG $serf_pc_arg --libs-only-L`"]
           break
         else
           AC_MSG_RESULT([no])
