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 \