NOSHARED is meaningless in the bsd.lib.mk context, so check LDFLAGS
for the -static flag instead when constructing LIBPAM. (This fixes false warnings from ``make checkdpadd -DNOSHARED'' in lib/libpam/modules/.) Submitted by: bde, ru Approved by: re
This commit is contained in:
parent
3cea219898
commit
43e927ec32
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=107256
@ -66,10 +66,10 @@ LIBOBJC?= ${DESTDIR}${LIBDIR}/libobjc.a
|
||||
LIBOPIE?= ${DESTDIR}${LIBDIR}/libopie.a
|
||||
|
||||
# The static PAM library doesn't know its secondary dependencies,
|
||||
# so we have to specify them explictly.
|
||||
# so we have to specify them explicitly.
|
||||
LIBPAM?= ${DESTDIR}${LIBDIR}/libpam.a
|
||||
MINUSLPAM?= -lpam
|
||||
.if defined(NOSHARED) && ${NOSHARED} != "no" && ${NOSHARED} != "NO"
|
||||
.if defined(LDFLAGS) && !empty(LDFLAGS:M-static)
|
||||
.if defined(MAKE_KERBEROS4) || defined(MAKE_KERBEROS5)
|
||||
.ifdef MAKE_KERBEROS4
|
||||
LIBPAM+= ${LIBKRB}
|
||||
|
Loading…
Reference in New Issue
Block a user