summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorsos <sos@FreeBSD.org>2000-02-26 12:26:25 +0000
committersos <sos@FreeBSD.org>2000-02-26 12:26:25 +0000
commitfdfe7ecf9dd8724deb546ac8e75ef160ba5f98a4 (patch)
treeb8e01f4c2bd1d808e9127481209e6b6dc1a2352b /lib
parent94de17793fe60f498f5e586d39b60275347f7db3 (diff)
downloadFreeBSD-src-fdfe7ecf9dd8724deb546ac8e75ef160ba5f98a4.zip
FreeBSD-src-fdfe7ecf9dd8724deb546ac8e75ef160ba5f98a4.tar.gz
Same fix as in ../modules, dont use the crypto stuff if its not there.
Diffstat (limited to 'lib')
-rw-r--r--lib/libpam/libpam/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libpam/libpam/Makefile b/lib/libpam/libpam/Makefile
index a1eb403..a315d1f 100644
--- a/lib/libpam/libpam/Makefile
+++ b/lib/libpam/libpam/Makefile
@@ -71,7 +71,7 @@ STATIC_MODULES+= ${MODOBJDIR}/pam_kerberos5/libpam_kerberos5.a
STATIC_MODULES+= ${MODOBJDIR}/pam_permit/libpam_permit.a
STATIC_MODULES+= ${MODOBJDIR}/pam_radius/libpam_radius.a
STATIC_MODULES+= ${MODOBJDIR}/pam_skey/libpam_skey.a
-.if !defined(NO_OPENSSL)
+.if exists(${.CURDIR}/../../../crypto/openssh) && !defined(NO_OPENSSL)
STATIC_MODULES+= ${MODOBJDIR}/pam_ssh/libpam_ssh.a
.endif
STATIC_MODULES+= ${MODOBJDIR}/pam_tacplus/libpam_tacplus.a
OpenPOWER on IntegriCloud