[gtkhtml/gnome-3-0] Bug 657764 - Explicitly link gtkhtml against libm
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtkhtml/gnome-3-0] Bug 657764 - Explicitly link gtkhtml against libm
- Date: Wed, 31 Aug 2011 01:27:38 +0000 (UTC)
commit 5109c9eba7879eb0ab582350a35809035888d20b
Author: Frederic Peters <fpeters 0d be>
Date: Tue Aug 30 21:21:08 2011 -0400
Bug 657764 - Explicitly link gtkhtml against libm
We used to implicitly link to libm through gtk+, but that got dropped.
http://mail.gnome.org/archives/desktop-devel-list/2011-August/msg00236.html
(cherry picked from commit 0482dd5ff71be71126e0416b3ab70990e8e6d8fa)
configure.ac | 3 +++
gtkhtml/Makefile.am | 3 ++-
2 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 6a4f15d..1fa5933 100644
--- a/configure.ac
+++ b/configure.ac
@@ -141,6 +141,9 @@ AC_SUBST(CFLAGS)
AC_SUBST(CPPFLAGS)
AC_SUBST(LDFLAGS)
+AC_CHECK_LIBM
+AC_SUBST(LIBM)
+
dnl **********************************
dnl GAIL modules
dnl **********************************
diff --git a/gtkhtml/Makefile.am b/gtkhtml/Makefile.am
index 3adb590..1dd9650 100644
--- a/gtkhtml/Makefile.am
+++ b/gtkhtml/Makefile.am
@@ -209,7 +209,8 @@ libgtkhtml_4_0_la_LIBADD = \
$(GTKHTML_LIBS) \
../a11y/libgtkhtml-a11y.la \
$(GAIL_LIBS) \
- $(REGEX_LIBS)
+ $(REGEX_LIBS) \
+ $(LIBM)
dist-hook:
mkdir $(distdir)/tests
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]