summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--utils/alsa.m43
1 files changed, 2 insertions, 1 deletions
diff --git a/utils/alsa.m4 b/utils/alsa.m4
index 0ddbb292..5cde42a0 100644
--- a/utils/alsa.m4
+++ b/utils/alsa.m4
@@ -52,9 +52,10 @@ if test "$alsa_prefix" != "" ; then
fi
dnl add the alsa library
-ALSA_LIBS="$ALSA_LIBS -lasound -lm -ldl"
+ALSA_LIBS="$ALSA_LIBS -lasound -lm -ldl -lpthread"
LIBS=`echo $LIBS | sed 's/-lm//'`
LIBS=`echo $LIBS | sed 's/-ldl//'`
+LIBS=`echo $LIBS | sed 's/-lpthread//'`
LIBS=`echo $LIBS | sed 's/ //'`
LIBS="$ALSA_LIBS $LIBS"
AC_MSG_RESULT($ALSA_LIBS)