]> git.cworth.org Git - acre/commitdiff
Add necessary -lm flag to link command
authorCarl Worth <cworth@cworth.org>
Wed, 6 Nov 2013 21:27:10 +0000 (13:27 -0800)
committerCarl Worth <cworth@cworth.org>
Wed, 6 Nov 2013 21:27:10 +0000 (13:27 -0800)
I don't know how this ever worked without this.

Makefile

index d17e7d93ca81ef9e4b0ca1ce17b92e414756f441..a14d677174f67aec9d5bc08cf96c1eab15c4ef50 100644 (file)
--- 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 \