aboutsummaryrefslogtreecommitdiff
path: root/lib/libpam/modules/Makefile.inc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libpam/modules/Makefile.inc')
-rw-r--r--lib/libpam/modules/Makefile.inc3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/libpam/modules/Makefile.inc b/lib/libpam/modules/Makefile.inc
index 085ab58475d2..2da5a7b524ad 100644
--- a/lib/libpam/modules/Makefile.inc
+++ b/lib/libpam/modules/Makefile.inc
@@ -14,8 +14,7 @@ CFLAGS+= -I${PAMDIR}/include -I${.CURDIR}/../../libpam
NO_PIC=
.else
SHLIB_NAME?= ${LIB}.so.${SHLIB_MAJOR}
-DPADD+= ${LIBPAM}
-LDADD+= -lpam
+LIBADD+= pam
.endif
.include "../Makefile.inc"