blob: 4733c6b62dd70688909380870681edea1826ebfa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
diff -ruN pam_mount-2.13.orig/src/Makefile.am pam_mount-2.13/src/Makefile.am
--- pam_mount-2.13.orig/src/Makefile.am 2011-12-15 04:12:10.000000000 -0800
+++ pam_mount-2.13/src/Makefile.am 2012-12-28 20:41:44.878975018 -0800
@@ -8,7 +8,9 @@
moduledir = @PAM_MODDIR@
module_LTLIBRARIES = pam_mount.la
sbin_PROGRAMS = pmvarrun
+if HAVE_LIBCRYPTSETUP
sbin_PROGRAMS += pmt-ehd
+endif
ssbin_PROGRAMS = mount.crypt
noinst_PROGRAMS = autoloop ismnt
noinst_SCRIPTS = umount.crypt
@@ -75,7 +77,7 @@
mount_crypt_LDADD = libcryptmount.la libpmt_mtab.la ${libHX_LIBS}
pmt_ehd_SOURCES = ehd.c bdev.c misc.c spawn.c
-pmt_ehd_LDADD = libcryptmount.la ${libHX_LIBS}
+pmt_ehd_LDADD = libcryptmount.la ${libHX_LIBS} ${libcryptsetup_LIBS}
#
# runtime helpers
|