]> git.tuebingen.mpg.de Git - paraslash.git/commit
Add -lm to the audiod ldflags.
authorAndre Noll <maan@systemlinux.org>
Mon, 21 Dec 2009 18:27:10 +0000 (19:27 +0100)
committerAndre Noll <maan@systemlinux.org>
Mon, 21 Dec 2009 18:27:10 +0000 (19:27 +0100)
commite40b89b792ee7c8f0fe7ebc7b4aa62444dedd458
treeb597da4e28edbe74d15ded3eb9ae91d8efc3c3a9
parent18483260c9f20ed4a79a9aa146d46e81b99c3e6e
Add -lm to the audiod ldflags.

Depending on the set of installed (optional) libraries, para_audiod gets or
does not get automatically linked against the math library. However, we always
need this lib as the wma decoder is always supported and uses trigonometric
functions.

If -lm is not automatically included, linking fails with many errors of the form

imdct.c:79: error: 'cos_16' undeclared here (not in a function)

Fix this problem by explicitely adding -lm to audiod's ldflags, just as we
do for para_filter as well.
configure.ac