[gnome-bluetooth] build: link the wizard against libm
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-bluetooth] build: link the wizard against libm
- Date: Tue, 20 Dec 2011 18:15:32 +0000 (UTC)
commit 16fa89732196cac6bf41727118119243ba0ff7d2
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Tue Dec 20 19:14:31 2011 +0100
build: link the wizard against libm
Build was broken because of a missing libm linker flag.
configure.ac | 3 +++
wizard/Makefile.am | 2 +-
2 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 316af6d..948d3fa 100644
--- a/configure.ac
+++ b/configure.ac
@@ -116,6 +116,9 @@ PKG_CHECK_MODULES(WIZARD,
gmodule-export-2.0
gtk+-3.0)
+AC_CHECK_LIBM
+AC_SUBST(LIBM)
+
dnl Requires for the input helper
PKG_CHECK_MODULES(INPUT,
xi
diff --git a/wizard/Makefile.am b/wizard/Makefile.am
index d2b09b1..7b7ff1c 100644
--- a/wizard/Makefile.am
+++ b/wizard/Makefile.am
@@ -11,7 +11,7 @@ bin_PROGRAMS = bluetooth-wizard
bluetooth_wizard_SOURCES = main.c
-bluetooth_wizard_LDADD = $(top_builddir)/lib/libgnome-bluetooth.la libwizard.la $(WIZARD_LIBS)
+bluetooth_wizard_LDADD = $(top_builddir)/lib/libgnome-bluetooth.la libwizard.la $(WIZARD_LIBS) $(LIBM)
test_input_SOURCES = test-input.c bluetooth-input.c bluetooth-input.h
test_input_LDADD = $(INPUT_LIBS)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]