summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarius Bakke <mbakke@fastmail.com>2017-05-11 23:46:46 +0200
committerMarius Bakke <mbakke@fastmail.com>2017-05-11 23:51:53 +0200
commit2253477e6f33224473451641573d78d430e7ecdf (patch)
tree6fb78827bdd08d10165efa3273773498bea01996
parenta3ac1bc285d6d6b7e2202937416ed055cfcdc35f (diff)
downloadpatches-2253477e6f33224473451641573d78d430e7ecdf.tar
patches-2253477e6f33224473451641573d78d430e7ecdf.tar.gz
gnu: cryptsetup-static: Fix FTBFS with lvm2-static@2.02.171.
* gnu/packages/cryptsetup.scm (cryptsetup-static)[arguments]<#:configure-flags>: Add "-lm" to LIBS.
-rw-r--r--gnu/packages/cryptsetup.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/packages/cryptsetup.scm b/gnu/packages/cryptsetup.scm
index 900b004a50..97d35f6693 100644
--- a/gnu/packages/cryptsetup.scm
+++ b/gnu/packages/cryptsetup.scm
@@ -81,8 +81,8 @@ files). This assumes LIBRARY uses Libtool."
'(#:configure-flags '("--disable-shared"
"--enable-static-cryptsetup"
- ;; 'libdevmapper.a' pulls in libpthread and libudev.
- "LIBS=-ludev -pthread")
+ ;; 'libdevmapper.a' pulls in libpthread, libudev and libm.
+ "LIBS=-ludev -pthread -lm")
#:allowed-references () ;this should be self-contained