Cleaner method of making PAMable apps static (in the optional case of
wanting static apps).
This commit is contained in:
parent
cd8136756a
commit
c7d9dcd340
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=76106
@ -25,8 +25,3 @@ LDADD+= ${MINUSLPAM}
|
||||
.endif
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
||||
.if defined(NOSHARED) && !defined(NOPAM)
|
||||
DPADD+= ${LIBCRYPTO}
|
||||
LDADD+= -L${.OBJDIR}/../../secure/lib/libssh/ -lssh -lcrypto
|
||||
.endif
|
||||
|
@ -21,8 +21,3 @@ LDADD+= ${MINUSLPAM}
|
||||
CFLAGS+= -DINET6
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
||||
.if defined(NOSHARED) && !defined(NOPAM)
|
||||
DPADD+= ${LIBCRYPTO}
|
||||
LDADD+= -L${.OBJDIR}/../../secure/lib/libssh -lssh -lcrypto
|
||||
.endif
|
||||
|
@ -67,8 +67,9 @@ LIBPAM+= ${LIBKRB} ${LIBCRYPTO} ${LIBCOM_ERR}
|
||||
MINUSLPAM+= -lkrb -lcrypto -lcom_err
|
||||
.endif
|
||||
LIBPAM+= ${LIBRADIUS} ${LIBTACPLUS} ${LIBSKEY} ${LIBCRYPT} ${LIBMD} \
|
||||
${LIBUTIL} ${LIBOPIE}
|
||||
MINUSLPAM+= -lradius -ltacplus -lskey -lcrypt -lmd -lutil -lopie
|
||||
${LIBUTIL} ${LIBOPIE} ${LIBCRYPTO}
|
||||
MINUSLPAM+= -lradius -ltacplus -lskey -lcrypt -lmd -lutil -lopie \
|
||||
-L${.OBJDIR}/../../secure/lib/libssh/ -lssh -lcrypto
|
||||
.endif
|
||||
|
||||
LIBPC?= ${DESTDIR}${LIBDIR}/libpc.a # XXX doesn't exist
|
||||
|
Loading…
Reference in New Issue
Block a user