From baf26fa0b6e93c2e2348a5712e63bef74f3da962 Mon Sep 17 00:00:00 2001 From: Christian Hergert Date: Wed, 28 Sep 2016 18:06:00 -0700 Subject: [PATCH] build: add $LIBM to the sysprof binary --- configure.ac | 1 + src/Makefile.am | 1 + 2 files changed, 2 insertions(+) diff --git a/configure.ac b/configure.ac index dc51e454..a1b90ae5 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 8cf8148b..562a1106 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 \