aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac2
-rw-r--r--libayatana-indicator/Makefile.am3
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) \