]> git.tdb.fi Git - ext/subsurface.git/blobdiff - Makefile
Link with libm for 'pow()'
[ext/subsurface.git] / Makefile
index 7c885648415ac956fb0a99fcd194258c6c1a9e5c..8a5096a16b07f07486ed8c7592966dad26c2776c 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -111,7 +111,7 @@ ifneq ($(strip $(LIBXSLT)),)
        endif
 endif
 
-LIBS = $(LIBXML2) $(LIBXSLT) $(LIBGTK) $(LIBGCONF2) $(LIBDIVECOMPUTER) $(EXTRALIBS) -lpthread
+LIBS = $(LIBXML2) $(LIBXSLT) $(LIBGTK) $(LIBGCONF2) $(LIBDIVECOMPUTER) $(EXTRALIBS) -lpthread -lm
 
 OBJS = main.o dive.o profile.o info.o equipment.o divelist.o \
        parse-xml.o save-xml.o libdivecomputer.o print.o uemis.o \