From: Jaroslav Kysela Date: Thu, 19 Apr 2001 10:30:35 +0000 (+0000) Subject: Added removal of duplicated -lm and -ldl entries X-Git-Tag: v1.0.3~878 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=ad9f4cd3a64df4392742d53734a9f21da75c6467;p=alsa-lib.git Added removal of duplicated -lm and -ldl entries --- diff --git a/utils/alsa.m4 b/utils/alsa.m4 index 28c178a3..c4d85cd7 100644 --- a/utils/alsa.m4 +++ b/utils/alsa.m4 @@ -53,6 +53,9 @@ fi dnl add the alsa library ALSA_LIBS="$ALSA_LIBS -lasound -lm -ldl" +LIBS=patsubst("$LIBS", "-lm") +LIBS=patsubst("$LIBS", "-ldl") +LIBS=patsubst("$LIBS", " ") LIBS="$ALSA_LIBS $LIBS" AC_MSG_RESULT($ALSA_LIBS)