From 967cfe4b9fb01675f7921f129157cca4cba3bd9f Mon Sep 17 00:00:00 2001 From: "Reece H. Dunn" Date: Thu, 17 Dec 2015 22:01:55 +0000 Subject: [PATCH] Some systems need -lm to use the math library functions. --- Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index 71fa398d..15f2509e 100644 --- a/Makefile.am +++ b/Makefile.am @@ -61,7 +61,7 @@ docs/speak_lib.h: src/include/espeak-ng/speak_lib.h lib_LTLIBRARIES += src/libespeak-ng.la -src_libespeak_ng_la_LDFLAGS = -version-info $(SHARED_VERSION) -lpthread +src_libespeak_ng_la_LDFLAGS = -version-info $(SHARED_VERSION) -lpthread -lm src_libespeak_ng_la_CFLAGS = -Isrc/include/espeak-ng \ -fPIC -fvisibility=hidden -D LIBRARY -D _BSD_SOURCE -D _POSIX_C_SOURCE=200112L \ -pedantic -fno-exceptions -D PATH_ESPEAK_DATA=\"$(DATADIR)\"