correctly add -lm for math lib
[lttv.git] / ltt / branches / poly / ltt / Makefile.am
index cc5eed55a7bbe57e8de26d5fcccc803238c92e6b..eda40575ddd8ed71e681c93eb660695c4a526344 100644 (file)
@@ -9,10 +9,11 @@ SUBDIRS = convert
 libdir = ${lttlibdir}
 
 AM_CFLAGS = $(GLIB_CFLAGS) 
-LIBS += $(GLIB_LIBS)
+LIBS += $(GLIB_LIBS) $(M_LIBS)
 
 lib_LTLIBRARIES = libtraceread.la
 libtraceread_la_SOURCES = event.c facility.c parser.c tracefile.c type.c
+libtraceread_la_LIBADD = -lm
 noinst_HEADERS = parser.h ltt-private.h
 
 lttinclude_HEADERS = \
This page took 0.023379 seconds and 4 git commands to generate.