From: Cristian Ionescu-Idbohrn Date: Sun, 15 Jan 2012 23:40:50 +0000 (+0100) Subject: Link with libm for 'pow()' X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=d34defc85bdc9872a8d1f1045c524a422e39b39e;p=ext%2Fsubsurface.git Link with libm for 'pow()' Solves suddenly revealed linking error: divelist.c:400: error: undefined reference to 'pow' Signed-off-by: Cristian Ionescu-Idbohrn Signed-off-by: Linus Torvalds --- diff --git a/Makefile b/Makefile index 7c88564..8a5096a 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 \