summaryrefslogtreecommitdiffstats
path: root/lib/libpam/modules/pam_kerberosIV/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libpam/modules/pam_kerberosIV/Makefile')
-rw-r--r--lib/libpam/modules/pam_kerberosIV/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/lib/libpam/modules/pam_kerberosIV/Makefile b/lib/libpam/modules/pam_kerberosIV/Makefile
index fea3247..ee4e6a6 100644
--- a/lib/libpam/modules/pam_kerberosIV/Makefile
+++ b/lib/libpam/modules/pam_kerberosIV/Makefile
@@ -33,8 +33,14 @@ CFLAGS+= -Wall
CFLAGS+= -I${PAMDIR}/libpam/include
CFLAGS+= -I${.CURDIR}/../../libpam
CFLAGS+= -DKERBEROS
-DPADD+= ${LIBKRB} ${LIBDES} ${LIBGCC_PIC} ${LIBCOM_ERR}
-LDADD+= -lkrb -ldes -lgcc_pic -lcom_err
+DPADD+= ${LIBKRB}
+LDADD+= -lkrb
+.if !defined(NOSECURE)
+DPADD+= ${LIBDES}
+LDADD+= -ldes
+.endif
+DPADD+= ${LIBGCC_PIC} ${LIBCOM_ERR}
+LDADD+= -lgcc_pic -lcom_err
INTERNALLIB= yes
INTERNALSTATICLIB=yes
OpenPOWER on IntegriCloud