summaryrefslogtreecommitdiff
path: root/src/accelerometer
diff options
context:
space:
mode:
authorEmmanuel Benoît <tseeker@nocternity.net>2015-01-21 16:18:17 +0100
committerEmmanuel Benoît <tseeker@nocternity.net>2015-01-21 16:45:55 +0100
commitad1f4567523c986a9a49dc104aac730b06cbdfa2 (patch)
tree12dae22524588fac05efbff55dfa4b888dd9fe99 /src/accelerometer
parent877de5b8ee5584091c8c10476878324a44467f73 (diff)
Build files: remove extraneous dependency
* configure.ac: use LT_LIBM to check for the maths library * src/accelerometer/Makefile.am: use $(LIBM) instead of -lm in the link flags This causes all executables (except accelerometer) and libraries to be linked without libm, which they do not need.
Diffstat (limited to 'src/accelerometer')
-rw-r--r--src/accelerometer/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/accelerometer/Makefile.am b/src/accelerometer/Makefile.am
index 983cf003d0..3d64842632 100644
--- a/src/accelerometer/Makefile.am
+++ b/src/accelerometer/Makefile.am
@@ -13,4 +13,4 @@ accelerometer_SOURCES = \
accelerometer_LDADD = \
$(top_builddir)/src/libudev/libudev-private.la \
$(top_builddir)/src/udev/libudev-core.la \
- -lm
+ $(LIBM)