[libwnck] build: link against libm
- From: Vincent Untz <vuntz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libwnck] build: link against libm
- Date: Wed, 31 Aug 2011 08:37:43 +0000 (UTC)
commit 65cc46e43eb683a6dfee1e9b7b4285dd05cd870b
Author: Vincent Untz <vuntz gnome org>
Date: Wed Aug 31 10:37:28 2011 +0200
build: link against libm
configure.ac | 3 +++
libwnck/Makefile.am | 3 ++-
2 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 9d89e87..45ef915 100644
--- a/configure.ac
+++ b/configure.ac
@@ -74,6 +74,9 @@ AC_SUBST(wncklocaledir)
AC_PATH_PROG(PKG_CONFIG, pkg-config)
+AC_CHECK_LIBM
+AC_SUBST(LIBM)
+
AC_ARG_ENABLE(startup-notification,
[AC_HELP_STRING([--enable-startup-notification],
[startup notification library @<:@default=auto@:>@])],,
diff --git a/libwnck/Makefile.am b/libwnck/Makefile.am
index 8f53ddd..30860d9 100644
--- a/libwnck/Makefile.am
+++ b/libwnck/Makefile.am
@@ -85,7 +85,8 @@ libwnck_3_la_CPPFLAGS = \
libwnck_3_la_LIBADD = \
$(LIBWNCK_LIBS) \
- $(XLIB_LIBS)
+ $(XLIB_LIBS) \
+ $(LIBM)
libwnck_3_la_LDFLAGS = \
-version-info $(LIBWNCK_CURRENT):$(LIBWNCK_REVISION):$(LIBWNCK_AGE) \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]