From 0871d147746b8ff9e197df03722624ee97044b4a Mon Sep 17 00:00:00 2001 From: Iain Lane Date: Fri, 19 Feb 2016 10:56:53 +0100 Subject: Add -lm via LDADD to resolve FTBFS in Ubuntu 16.04 and Debian stretch/unstable. --- configure.ac | 2 +- libayatana-indicator/Makefile.am | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index d02b182..3aac789 100644 --- a/configure.ac +++ b/configure.ac @@ -69,7 +69,7 @@ AS_IF([test "x$with_gtk" = x3], AM_CONDITIONAL(USE_GTK3, [test "x$with_gtk" = x3]) LT_LIB_M -LIBINDICATOR_LIBS+="$LIBM" +AC_SUBST(LIBM) ############################## # Custom Junk diff --git a/libayatana-indicator/Makefile.am b/libayatana-indicator/Makefile.am index 7a1c617..d9260ea 100644 --- a/libayatana-indicator/Makefile.am +++ b/libayatana-indicator/Makefile.am @@ -68,7 +68,8 @@ libayatana_indicator_la_CFLAGS = \ -Wall -Werror -Wno-error=deprecated-declarations libayatana_indicator_la_LIBADD = \ - $(LIBINDICATOR_LIBS) + $(LIBINDICATOR_LIBS) \ + $(LIBM) libayatana_indicator_la_LDFLAGS = \ $(COVERAGE_LDFLAGS) \ -- cgit v1.2.3