[gtkhtml/gnome-3-1-90: 1/2] Bug 657764 - Explicitly link gtkhtml against libm
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtkhtml/gnome-3-1-90: 1/2] Bug 657764 - Explicitly link gtkhtml against libm
- Date: Wed, 31 Aug 2011 13:22:54 +0000 (UTC)
commit 73e8f9afc7935c1c44abeb284f26d829024f80f1
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
configure.ac | 3 +++
gtkhtml/Makefile.am | 3 ++-
2 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index f7c0eb9..e7fad2d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -140,6 +140,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]