Blame SOURCES/espeak-1.47-ftbs-ld-libm.patch

13d3b9
diff --git a/src/Makefile b/src/Makefile
13d3b9
index f04b4c4..b8d4b19 100644
13d3b9
--- a/src/Makefile
13d3b9
+++ b/src/Makefile
13d3b9
@@ -83,15 +83,15 @@ libespeak_SOURCES = speak_lib.cpp compiledict.cpp dictionary.cpp intonation.cpp
13d3b9
 
13d3b9
 SRCS1=$(speak_SOURCES)
13d3b9
 OBJS1=$(patsubst %.cpp,%.o,$(SRCS1))
13d3b9
-LIBS1=-lstdc++ $(LIB_AUDIO) -lpthread $(EXTRA_LIBS)
13d3b9
+LIBS1=-lstdc++ -lm $(LIB_AUDIO) -lpthread $(EXTRA_LIBS)
13d3b9
 
13d3b9
 SRCS2=$(libespeak_SOURCES)
13d3b9
 OBJS2=$(patsubst %.cpp,x_%.o,$(SRCS2))
13d3b9
-LIBS2=-lstdc++ $(LIB_AUDIO) -lpthread
13d3b9
+LIBS2=-lstdc++ -lm $(LIB_AUDIO) -lpthread
13d3b9
 
13d3b9
 SRCS3 = espeak.cpp
13d3b9
 OBJS3=$(patsubst %.cpp,%.o,$(SRCS3))
13d3b9
-LIBS3=-lstdc++ -L . -lespeak
13d3b9
+LIBS3=-lstdc++ -lm -L . -lespeak
13d3b9
 
13d3b9
 CXXFLAGS=-O2
13d3b9