From a7318a6476983740c208d5430eb861cb8739d52a Mon Sep 17 00:00:00 2001
From: Max Kellermann <max@duempel.org>
Date: Wed, 11 Mar 2009 09:20:29 +0100
Subject: [PATCH] configure.ac: add -pg to MPD_LIBS with --enable-gprof

---
 configure.ac | 1 +
 1 file changed, 1 insertion(+)

diff --git a/configure.ac b/configure.ac
index 1358b0633..177ef21c4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1017,6 +1017,7 @@ AC_ARG_ENABLE(gprof,
 
 if test "x$enable_gprof" = xyes; then
 	MPD_CFLAGS="$MPD_CFLAGS -pg"
+	MPD_LIBS="$MPD_LIBS -pg"
 fi
 
 AC_ARG_ENABLE(test,