[libwnck/gnome-2-30] build: link against libm
- From: Vincent Untz <vuntz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libwnck/gnome-2-30] build: link against libm
- Date: Wed, 31 Aug 2011 08:51:27 +0000 (UTC)
commit ebf804d3d048817cf94453e1dbec9b65a6a9d8af
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 22c0dc9..c032285 100644
--- a/configure.ac
+++ b/configure.ac
@@ -85,6 +85,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 636bb9b..b59a1bd 100644
--- a/libwnck/Makefile.am
+++ b/libwnck/Makefile.am
@@ -83,7 +83,8 @@ libwnck_1_la_CPPFLAGS = \
libwnck_1_la_LIBADD = \
$(LIBWNCK_LIBS) \
- $(XLIB_LIBS)
+ $(XLIB_LIBS) \
+ $(LIBM)
libwnck_1_la_LDFLAGS = \
-version-info $(LIBWNCK_CURRENT):$(LIBWNCK_REVISION):$(LIBWNCK_AGE) \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]