summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristophe Fergeau <teuf@gnome.org>2009-01-02 13:47:11 +0000
committerChristophe Fergeau <teuf@gnome.org>2009-01-02 13:47:11 +0000
commitc6e1ca9685e845bf99c4912d247e88c758c6dd72 (patch)
treeb846a6278d5d20ec9a4a9008c1dc7beeef9f0610
parente290a0d9d5db8fded0c5206e00baecb86f770f1d (diff)
downloadlibgpod-c6e1ca9685e845bf99c4912d247e88c758c6dd72.tar.gz
libgpod-c6e1ca9685e845bf99c4912d247e88c758c6dd72.tar.xz
libgpod-c6e1ca9685e845bf99c4912d247e88c758c6dd72.zip
Link with -lm since we are using round and ceil in ithumb-writer.c
git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@2190 f01d2545-417e-4e96-918e-98f8d0dbbcb6
-rw-r--r--ChangeLog5
-rw-r--r--src/Makefile.am2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index d2d336e..ce84f8d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2009-01-02 Christophe Fergeau <teuf@gnome.org>
+ * src/Makefile.am: we need to link with -lm since ithumb-writer.c
+ uses round and ceil
+
+2009-01-02 Christophe Fergeau <teuf@gnome.org>
+
* NEWS: update NEWS file, I probably forgot some things, feel free
to update it :)
diff --git a/src/Makefile.am b/src/Makefile.am
index 322d817..69cae0b 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -48,7 +48,7 @@ noinst_HEADERS = \
sha1.h
INCLUDES=$(LIBGPOD_CFLAGS)
-LIBS=$(LIBGPOD_LIBS)
+LIBS=$(LIBGPOD_LIBS) -lm
uninstall-hook:
-rmdir --ignore-fail-on-non-empty $(DESTDIR)$(libgpodincludedir)