aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvgeni Golov <evgeni@debian.org>2011-09-03 19:48:30 +0200
committerEvgeni Golov <evgeni@debian.org>2011-09-03 19:48:30 +0200
commit240eaf6dadb6cafce795a4589699130c022b1469 (patch)
tree29af79a13e32c2641af305a2995ee5947c472a28
parente2b7e82e89e0c85b1078fde531012ba2ea20e0bf (diff)
downloadlibayatana-indicator-240eaf6dadb6cafce795a4589699130c022b1469.tar.gz
libayatana-indicator-240eaf6dadb6cafce795a4589699130c022b1469.tar.bz2
libayatana-indicator-240eaf6dadb6cafce795a4589699130c022b1469.zip
find and link libm
otherwise it will ftbfs with --as-needed because libindicator/indicator-image-helper.c uses round() but does not link to libm
-rw-r--r--configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 4a36dda..453ebd6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -62,6 +62,9 @@ AS_IF([test "x$with_gtk" = x3],
)
AM_CONDITIONAL(USE_GTK3, [test "x$with_gtk" = x3])
+LT_LIB_M
+LIBINDICATOR_LIBS+="$LIBM"
+
##############################
# Custom Junk
##############################