summaryrefslogtreecommitdiff
path: root/make.tmpl.in
diff options
context:
space:
mode:
authorBryn M. Reeves <bmr@redhat.com>2015-08-18 15:21:19 +0100
committerBryn M. Reeves <bmr@redhat.com>2015-08-18 15:25:54 +0100
commitc1bd76d6fcbbc7c07c99a5738dea99f830f79810 (patch)
tree14d0ddfcde4af9d89524adf4ca1f7e71c49e011a /make.tmpl.in
parenta7abade088b5085eed248ab4369fa70263a40bfc (diff)
downloadlvm2-c1bd76d6fcbbc7c07c99a5738dea99f830f79810.tar.gz
configure: check for -lm and log10 function
We already use -lm functions in a couple of places (these are satisfied by gcc built-ins for most builds): add a configure.in check and explicitly link to -lm.
Diffstat (limited to 'make.tmpl.in')
-rw-r--r--make.tmpl.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/make.tmpl.in b/make.tmpl.in
index 731dab7ca..e4f8835fd 100644
--- a/make.tmpl.in
+++ b/make.tmpl.in
@@ -54,6 +54,7 @@ LDDEPS += @LDDEPS@
LIB_SUFFIX = @LIB_SUFFIX@
LVMINTERNAL_LIBS = -llvm-internal $(DAEMON_LIBS) $(UDEV_LIBS) $(DL_LIBS) $(BLKID_LIBS)
DL_LIBS = @DL_LIBS@
+M_LIBS = @M_LIBS@
PTHREAD_LIBS = @PTHREAD_LIBS@
READLINE_LIBS = @READLINE_LIBS@
SELINUX_LIBS = @SELINUX_LIBS@