summaryrefslogtreecommitdiff
path: root/extra/aubio/aubio-linking.patch
blob: ea68335a472a13e9d736a3d85ad45a8a98538d0b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
diff -rupN aubio-0.3.2.old/examples/Makefile.am aubio-0.3.2/examples/Makefile.am
--- aubio-0.3.2.old/examples/Makefile.am	2006-09-12 18:31:40.000000000 -0400
+++ aubio-0.3.2/examples/Makefile.am	2010-02-10 04:06:51.000000000 -0500
@@ -23,7 +23,7 @@ aubionotes_SOURCES = aubionotes.c utils.
 aubiotrack_SOURCES = aubiotrack.c utils.c
 aubioquiet_SOURCES = aubioquiet.c utils.c
 
-aubioonset_LDADD = @JACK_LIBS@
-aubionotes_LDADD = @JACK_LIBS@
-aubiotrack_LDADD = @JACK_LIBS@
-aubioquiet_LDADD = @JACK_LIBS@
+aubioonset_LDADD = @JACK_LIBS@ -lm
+aubionotes_LDADD = @JACK_LIBS@ -lm
+aubiotrack_LDADD = @JACK_LIBS@ -lm
+aubioquiet_LDADD = @JACK_LIBS@ -lm
diff -rupN aubio-0.3.2.old/examples/Makefile.in aubio-0.3.2/examples/Makefile.in
--- aubio-0.3.2.old/examples/Makefile.in	2006-10-08 19:22:10.000000000 -0400
+++ aubio-0.3.2/examples/Makefile.in	2010-02-10 04:07:00.000000000 -0500
@@ -247,10 +247,10 @@ aubioonset_SOURCES = aubioonset.c utils.
 aubionotes_SOURCES = aubionotes.c utils.c
 aubiotrack_SOURCES = aubiotrack.c utils.c
 aubioquiet_SOURCES = aubioquiet.c utils.c
-aubioonset_LDADD = @JACK_LIBS@
-aubionotes_LDADD = @JACK_LIBS@
-aubiotrack_LDADD = @JACK_LIBS@
-aubioquiet_LDADD = @JACK_LIBS@
+aubioonset_LDADD = @JACK_LIBS@ -lm
+aubionotes_LDADD = @JACK_LIBS@ -lm
+aubiotrack_LDADD = @JACK_LIBS@ -lm
+aubioquiet_LDADD = @JACK_LIBS@ -lm
 all: all-recursive
 
 .SUFFIXES: