build: add $LIBM to the sysprof binary

This commit is contained in:
Christian Hergert
2016-09-28 18:06:00 -07:00
parent 50bfd8db72
commit baf26fa0b6
2 changed files with 2 additions and 0 deletions

View File

@ -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

View File

@ -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 \