Fixed missed linking to libm (#18).
authorDaniel Carl <danielcarl@gmx.de>
Mon, 27 May 2013 12:15:04 +0000 (14:15 +0200)
committerDaniel Carl <danielcarl@gmx.de>
Mon, 27 May 2013 12:15:04 +0000 (14:15 +0200)
config.mk

index 5224909..62024a6 100644 (file)
--- a/config.mk
+++ b/config.mk
@@ -34,7 +34,7 @@ CFLAGS += -Wmissing-parameter-type
 CFLAGS += -Wno-overlength-strings
 #CFLAGS += -Wstrict-prototypes
 
-LDFLAGS += $(shell pkg-config --libs $(LIBS)) -lX11 -lXext
+LDFLAGS += $(shell pkg-config --libs $(LIBS)) -lX11 -lXext -lm
 
 # features
 CPPFLAGS += -DFEATURE_COOKIE