[sysprof/wip/visualizers] build: add $LIBM to the sysprof binary
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [sysprof/wip/visualizers] build: add $LIBM to the sysprof binary
- Date: Thu, 29 Sep 2016 01:07:07 +0000 (UTC)
commit baf26fa0b6e93c2e2348a5712e63bef74f3da962
Author: Christian Hergert <chergert redhat com>
Date: Wed Sep 28 18:06:00 2016 -0700
build: add $LIBM to the sysprof binary
configure.ac | 1 +
src/Makefile.am | 1 +
2 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index dc51e45..a1b90ae 100644
--- a/configure.ac
+++ b/configure.ac
@@ -130,6 +130,7 @@ PKG_CHECK_MODULES(SYSTEMD,
[libsystemd >= systemd_required_version],
[have_systemd=yes],
[have_systemd=no])
+LT_LIB_M
# sysprofd requires libsystemd and polkit, and is required to run
# the ui without root permissions
diff --git a/src/Makefile.am b/src/Makefile.am
index 8cf8148..562a110 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -27,6 +27,7 @@ nodist_sysprof_SOURCES = \
sysprof_LDADD = \
$(GIO_LIBS) \
$(GTK_LIBS) \
+ $(LIBM) \
$(POLKIT_LIBS) \
$(top_builddir)/lib/libsysprof-@API_VERSION@.la \
$(top_builddir)/lib/libsysprof-ui-@API_VERSION@.la \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]