[alsa-devel] [PATCH] Add -lm to test programs to fix build failure.
Add -lm to test programs that use sin(), to fix a build failure with recent binutils.
Signed-off-by: Jordi Mallach jordi@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
Takashi, did you see the post below from last Friday?
Thanks, Jordi
El dv 28 de 06 de 2013 a les 15:05 +0200, en/na Jordi Mallach va escriure:
Add -lm to test programs that use sin(), to fix a build failure with recent binutils.
Signed-off-by: Jordi Mallach jordi@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
participants (1)
-
Jordi Mallach