[gnome-applets] geyes, multiload: explicitly link against libm, fixes bug 657879
- From: Enrico Minack <eminack src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-applets] geyes, multiload: explicitly link against libm, fixes bug 657879
- Date: Mon, 5 Sep 2011 20:13:25 +0000 (UTC)
commit 9d52aaee6e8f6f81987a2eea9c66b1c26ea12547
Author: Enrico Minack <enrico-minack gmx de>
Date: Mon Sep 5 21:36:25 2011 +0200
geyes, multiload: explicitly link against libm, fixes bug 657879
configure.in | 3 +++
geyes/Makefile.am | 3 ++-
multiload/Makefile.am | 3 ++-
3 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/configure.in b/configure.in
index 118e34b..255cbc1 100644
--- a/configure.in
+++ b/configure.in
@@ -51,6 +51,9 @@ AM_CHECK_PYTHON_HEADERS(HAVE_PYHDRS="yes", HAVE_PYHDRS="no")
X_LIBS="$X_LIBS $X_PRE_LIBS -lX11 $X_EXTRA_LIBS"
AC_SUBST(X_LIBS)
+dnl Check for libm
+LT_LIB_M
+
GNOME_COMPILE_WARNINGS
dnl Check for non-portable headers
diff --git a/geyes/Makefile.am b/geyes/Makefile.am
index 935d932..46abd31 100644
--- a/geyes/Makefile.am
+++ b/geyes/Makefile.am
@@ -16,7 +16,8 @@ geyes_applet2_SOURCES = \
geyes.h
geyes_applet2_LDADD = \
- $(GNOME_APPLETS_LIBS)
+ $(GNOME_APPLETS_LIBS) \
+ $(LIBM)
appletdir = $(datadir)/gnome-panel/4.0/applets
applet_in_files = org.gnome.applets.GeyesApplet.panel-applet.in
diff --git a/multiload/Makefile.am b/multiload/Makefile.am
index a659f07..94da298 100644
--- a/multiload/Makefile.am
+++ b/multiload/Makefile.am
@@ -24,7 +24,8 @@ multiload_applet_2_SOURCES = \
multiload_applet_2_LDADD = \
$(GNOME_APPLETS_LIBS) \
$(GTOP_APPLETS_LIBS) \
- $(GIO_UNIX_LIBS)
+ $(GIO_UNIX_LIBS) \
+ $(LIBM)
schemasdir = @GCONF_SCHEMA_FILE_DIR@
schemas_in_files = multiload.schemas.in
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]