From 063395392f254b5499c2424c1e77ee5b1dfd4fe7 Mon Sep 17 00:00:00 2001 From: sos Date: Sat, 26 Feb 2000 12:26:25 +0000 Subject: [PATCH] Same fix as in ../modules, dont use the crypto stuff if its not there. --- lib/libpam/libpam/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/libpam/libpam/Makefile b/lib/libpam/libpam/Makefile index a1eb403ba662..a315d1fb5a85 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