aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac1
-rw-r--r--src/Makefile.am2
2 files changed, 2 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 0ef71bc..0646ee2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -77,6 +77,7 @@ AC_C_CONST
AC_FUNC_MALLOC
AC_FUNC_MMAP
AC_CHECK_FUNCS([memset munmap strcasecmp strdup])
+AC_CHECK_LIBM
GLIB_REQUIRED_VERSION=2.32.0
diff --git a/src/Makefile.am b/src/Makefile.am
index 6ddebb2..79e3e04 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -85,7 +85,7 @@ libidoinclude_HEADERS = \
idotimeline.h \
libido.h
-libido_0_1_la_LIBADD = $(GTK_LIBS)
+libido_0_1_la_LIBADD = $(GTK_LIBS) $(LIBM)
libido_0_1_la_LDFLAGS = \
$(GTK_LT_LDFLAGS) \
$(COVERAGE_LDFLAGS)