[librsvg] Fix linking with pedantic linkers
- From: Hiroyuki Ikezoe <hiikezoe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librsvg] Fix linking with pedantic linkers
- Date: Tue, 27 Apr 2010 10:23:59 +0000 (UTC)
commit 49316796af290c87b2763942f98b9631a1192315
Author: Bastien Nocera <hadess hadess net>
Date: Tue Apr 27 19:22:15 2010 +0900
Fix linking with pedantic linkers
librsvg uses libm functions so should link against it.
https://bugzilla.gnome.org/show_bug.cgi?id=616835
Makefile.am | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index ce4f42f..21ad36c 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -69,7 +69,7 @@ librsvg_2_la_SOURCES = \
rsvg-file-util.c
librsvg_2_la_LDFLAGS = -version-info @VERSION_INFO@ -export-dynamic -no-undefined -export-symbols $(srcdir)/librsvg.def
-librsvg_2_la_LIBADD = $(LIBGSF_LIBS) $(LIBCROCO_LIBS) $(LIBRSVG_LIBS)
+librsvg_2_la_LIBADD = $(LIBGSF_LIBS) $(LIBCROCO_LIBS) $(LIBRSVG_LIBS) -lm
librsvgincdir = $(includedir)/librsvg-2/librsvg
librsvginc_HEADERS = \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]