From 2253477e6f33224473451641573d78d430e7ecdf Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Thu, 11 May 2017 23:46:46 +0200 Subject: [PATCH] gnu: cryptsetup-static: Fix FTBFS with lvm2-static@2.02.171. * gnu/packages/cryptsetup.scm (cryptsetup-static)[arguments]<#:configure-flags>: Add "-lm" to LIBS. --- gnu/packages/cryptsetup.scm | 4 ++-- 1 file 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