Added removal of duplicated -lm and -ldl entries

This commit is contained in:
Jaroslav Kysela 2001-04-19 10:30:35 +00:00
parent f12e938abd
commit ad9f4cd3a6

View File

@ -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)