From ad1f4567523c986a9a49dc104aac730b06cbdfa2 Mon Sep 17 00:00:00 2001 From: Emmanuel BenoƮt Date: Wed, 21 Jan 2015 16:18:17 +0100 Subject: 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. --- src/accelerometer/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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) -- cgit v1.2.3-54-g00ecf