summaryrefslogtreecommitdiff
path: root/sys-fs/cryptsetup/files/cryptsetup-2.0.0-pwquality_static.patch
blob: 56a2d45cb42bd4fe87ffef689ea9f320919975ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
From 7c9312607c5b0923447175480d696b34f47f0e03 Mon Sep 17 00:00:00 2001
From: Milan Broz <gmazyland@gmail.com>
Date: Sun, 17 Dec 2017 15:20:49 +0100
Subject: [PATCH] Fix cryptsetup-reencrypt static build if pwquality is enabled.

In static build we need to link also to pwquality.

Fixes Issue#357.
---
 src/Makemodule.am | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/Makemodule.am b/src/Makemodule.am
index 55a388d..b6889eb 100644
--- a/src/Makemodule.am
+++ b/src/Makemodule.am
@@ -112,6 +112,7 @@ cryptsetup_reencrypt_static_LDFLAGS = $(AM_LDFLAGS) -all-static
 cryptsetup_reencrypt_static_LDADD =	\
 	$(cryptsetup_reencrypt_LDADD)	\
 	@CRYPTO_STATIC_LIBS@		\
+	@PWQUALITY_STATIC_LIBS@		\
 	@DEVMAPPER_STATIC_LIBS@
 endif
 endif
--
libgit2 0.26.0