summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorJaroslav Kysela <perex@perex.cz>2001-12-18 07:00:57 +0000
committerJaroslav Kysela <perex@perex.cz>2001-12-18 07:00:57 +0000
commita74d1ea689256fe34732ba31973274d4ee7bcea0 (patch)
tree4eda9ba0a5cc496ae1cc37bbd06d884645cee794 /utils
parent735c286de7c00cd77ab95438d8c0ce57b82425d4 (diff)
downloadalsa-lib-a74d1ea689256fe34732ba31973274d4ee7bcea0.tar.gz
Added pthread library
Diffstat (limited to 'utils')
-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)