From: Carl Worth <cworth@cworth.org>
Date: Wed, 6 Nov 2013 21:27:10 +0000 (-0800)
Subject: Add necessary -lm flag to link command
X-Git-Url: https://git.cworth.org/git?a=commitdiff_plain;h=b567abf31026b4a6ddc2c19f2deb6eb2fb248685;p=acre

Add necessary -lm flag to link command

I don't know how this ever worked without this.
---

diff --git a/Makefile b/Makefile
index d17e7d9..a14d677 100644
--- a/Makefile
+++ b/Makefile
@@ -7,7 +7,7 @@ acre_test_SOURCES = \
 	xmalloc.c \
 	xmalloc.h
 
-acre_test_LDFLAGS=$$(pkg-config --libs pangocairo lcms)
+acre_test_LDFLAGS=$$(pkg-config --libs pangocairo lcms) -lm
 
 acre_test_CFLAGS=$$(pkg-config --cflags pangocairo lcms) \
 	-Wall -Wextra -Wpointer-arith -Wstrict-prototypes \