[alsa-devel] [PATCH] Add -lm to test programs to fix build failure.
Jordi Mallach
jordi at debian.org
Fri Jun 28 15:05:44 CEST 2013
Add -lm to test programs that use sin(), to fix a build failure with recent
binutils.
Signed-off-by: Jordi Mallach <jordi at debian.org>
---
test/Makefile.am | 2 ++
1 file changed, 2 insertions(+)
diff --git a/test/Makefile.am b/test/Makefile.am
index 8705402..c1896f8 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -7,8 +7,10 @@ check_PROGRAMS=control pcm pcm_min latency seq \
control_LDADD=../src/libasound.la
pcm_LDADD=../src/libasound.la
+pcm_LDFLAGS= -lm
pcm_min_LDADD=../src/libasound.la
latency_LDADD=../src/libasound.la
+latency_LDFLAGS= -lm
seq_LDADD=../src/libasound.la
playmidi1_LDADD=../src/libasound.la
timer_LDADD=../src/libasound.la
--
1.8.3.1
More information about the Alsa-devel
mailing list