[gnome-power-manager] Use -lm to fix the compile when linking with --as-needed
- From: Richard Hughes <rhughes src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gnome-power-manager] Use -lm to fix the compile when linking with --as-needed
- Date: Wed, 6 Jan 2010 19:03:15 +0000 (UTC)
commit 334e2c24674b4e978ec4b1eaed048679368441eb
Author: Richard Hughes <richard hughsie com>
Date: Wed Jan 6 19:01:14 2010 +0000
Use -lm to fix the compile when linking with --as-needed
src/Makefile.am | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/Makefile.am b/src/Makefile.am
index b038669..3e70be3 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -97,6 +97,7 @@ gnome_power_statistics_LDADD = \
$(GNOME_LIBS) \
$(UNIQUE_LIBS) \
$(DBUS_LIBS) \
+ -lm \
$(NULL)
gnome_power_statistics_CFLAGS = \
@@ -114,6 +115,7 @@ gnome_power_preferences_LDADD = \
$(GLIB_LIBS) \
$(GNOME_LIBS) \
$(DBUS_LIBS) \
+ -lm \
$(UNIQUE_LIBS) \
$(GPM_EXTRA_LIBS) \
$(DEVKIT_LIBS) \
@@ -181,6 +183,7 @@ gnome_power_manager_LDADD = \
$(GSTREAMER_LIBS) \
$(GNOME_LIBS) \
$(DBUS_LIBS) \
+ -lm \
$(XRANDR_LIBS) \
$(CANBERRA_LIBS) \
$(LIBNOTIFY_LIBS) \
@@ -254,6 +257,7 @@ gnome_power_self_test_LDADD = \
$(GSTREAMER_LIBS) \
$(DEVKIT_LIBS) \
$(DBUS_LIBS) \
+ -lm \
$(LIBNOTIFY_LIBS) \
$(GPM_EXTRA_LIBS) \
$(NULL)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]