summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Cristian Ionescu-Idbohrn <cristian.ionescu-idbohrn@axis.com>2012-01-16 00:40:50 +0100
committerGravatar Linus Torvalds <torvalds@linux-foundation.org>2012-01-15 16:19:18 -0800
commitd34defc85bdc9872a8d1f1045c524a422e39b39e (patch)
tree87695cc5fe8bdca8e5cbd8d3472125e526bb9f34 /Makefile
parentc544226334ec1bfaac1c8d649722bb17728606e1 (diff)
downloadsubsurface-d34defc85bdc9872a8d1f1045c524a422e39b39e.tar.gz
Link with libm for 'pow()'
Solves suddenly revealed linking error: divelist.c:400: error: undefined reference to 'pow' Signed-off-by: Cristian Ionescu-Idbohrn <cii@axis.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 7c8856484..8a5096a16 100644
--- 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 \