diff options
author | Cristian Ionescu-Idbohrn <cristian.ionescu-idbohrn@axis.com> | 2012-01-16 00:40:50 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-01-15 16:19:18 -0800 |
commit | d34defc85bdc9872a8d1f1045c524a422e39b39e (patch) | |
tree | 87695cc5fe8bdca8e5cbd8d3472125e526bb9f34 /Makefile | |
parent | c544226334ec1bfaac1c8d649722bb17728606e1 (diff) | |
download | subsurface-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-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 \ |