---
 src/Makefile |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/src/Makefile
+++ b/src/Makefile
@@ -12,7 +12,7 @@ OBJS=$(patsubst %.cpp,%.o,$(SRCS))
 
 WX_LIBS = -pthread   `wx-config --libs`
 
-LIBS=-lstdc++ -lportaudio -lsonic
+LIBS=-lstdc++ -lportaudio -lsonic -lm
 #LIBS=-lstdc++ /usr/lib/x86_64-linux-gnu/libportaudio.so.2
 
 CPPFLAGS =  -Wall -g -fexceptions `wx-config --cflags` \
