summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/libpam/libpam/Makefile3
-rw-r--r--lib/libpam/modules/pam_kerberosIV/Makefile4
2 files changed, 5 insertions, 2 deletions
diff --git a/lib/libpam/libpam/Makefile b/lib/libpam/libpam/Makefile
index ddcc688..0e87162 100644
--- a/lib/libpam/libpam/Makefile
+++ b/lib/libpam/libpam/Makefile
@@ -65,6 +65,9 @@ STATIC_MODULES+= ${MODOBJDIR}/pam_deny/libpam_deny.a
.if defined(MAKE_KERBEROS4)
STATIC_MODULES+= ${MODOBJDIR}/pam_kerberosIV/libpam_kerberosIV.a
.endif
+.if defined(MAKE_KERBEROS5)
+STATIC_MODULES+= ${MODOBJDIR}/pam_kerberos5/libpam_kerberos5.a
+.endif
STATIC_MODULES+= ${MODOBJDIR}/pam_permit/libpam_permit.a
STATIC_MODULES+= ${MODOBJDIR}/pam_radius/libpam_radius.a
STATIC_MODULES+= ${MODOBJDIR}/pam_skey/libpam_skey.a
diff --git a/lib/libpam/modules/pam_kerberosIV/Makefile b/lib/libpam/modules/pam_kerberosIV/Makefile
index 8ab1e6e..fea3247 100644
--- a/lib/libpam/modules/pam_kerberosIV/Makefile
+++ b/lib/libpam/modules/pam_kerberosIV/Makefile
@@ -33,8 +33,8 @@ CFLAGS+= -Wall
CFLAGS+= -I${PAMDIR}/libpam/include
CFLAGS+= -I${.CURDIR}/../../libpam
CFLAGS+= -DKERBEROS
-DPADD+= ${LIBKRB} ${LIBDES} ${LIBGCC_PIC}
-LDADD+= -lkrb -ldes -lgcc_pic
+DPADD+= ${LIBKRB} ${LIBDES} ${LIBGCC_PIC} ${LIBCOM_ERR}
+LDADD+= -lkrb -ldes -lgcc_pic -lcom_err
INTERNALLIB= yes
INTERNALSTATICLIB=yes
OpenPOWER on IntegriCloud