Some systems need -lm to use the math library functions.

This commit is contained in:
Reece H. Dunn
2015-12-17 22:01:55 +00:00
parent 296d62378b
commit 967cfe4b9f
+1 -1
View File
@@ -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)\"