aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorFrédéric Péters <fpeters@0d.be>2011-08-31 15:34:12 +0800
committerFrédéric Péters <fpeters@0d.be>2011-08-31 15:36:18 +0800
commit18009c7071732d29dd5a6eba8ef7f6b53c91e4d3 (patch)
tree9cb7b95f323ba39c41da30d462aa973a893ed4f3 /src
parente4041ce8c3d86e99d747c53012349baa83116d45 (diff)
downloadgsoc2013-empathy-18009c7071732d29dd5a6eba8ef7f6b53c91e4d3.tar
gsoc2013-empathy-18009c7071732d29dd5a6eba8ef7f6b53c91e4d3.tar.gz
gsoc2013-empathy-18009c7071732d29dd5a6eba8ef7f6b53c91e4d3.tar.bz2
gsoc2013-empathy-18009c7071732d29dd5a6eba8ef7f6b53c91e4d3.tar.lz
gsoc2013-empathy-18009c7071732d29dd5a6eba8ef7f6b53c91e4d3.tar.xz
gsoc2013-empathy-18009c7071732d29dd5a6eba8ef7f6b53c91e4d3.tar.zst
gsoc2013-empathy-18009c7071732d29dd5a6eba8ef7f6b53c91e4d3.zip
build: use an autoconf macro to get to -lm
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 6be4b9e29..cc4eebe30 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -12,7 +12,7 @@ CPPFLAGS_COMMON = \
$(WARN_CFLAGS) \
$(NULL)
-AM_LDFLAGS = -lm
+AM_LDFLAGS = $(LIBM)
AM_CPPFLAGS = \
$(CPPFLAGS_COMMON) \
$(LIBCHAMPLAIN_CFLAGS) \
@@ -130,7 +130,7 @@ empathy_av_SOURCES = \
nodist_empathy_av_SOURCES = $(BUILT_SOURCES)
empathy_av_CFLAGS = $(EMPATHY_AV_CFLAGS)
-empathy_av_LDFLAGS = $(EMPATHY_AV_LIBS) -lm
+empathy_av_LDFLAGS = $(EMPATHY_AV_LIBS) $(LIBM)
empathy_auth_client_SOURCES = \
empathy-auth-client.c \