1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-05 12:56:08 +00:00

Introduce a new variable NEED_LIBNAMES. If it is defined,

<bsd.libnames.mk> is included regardless of the object file format.

This is needed to fix the a.out PAM breakage that manifests itself
when trying to build login.
This commit is contained in:
John Polstra 1999-01-22 12:41:27 +00:00
parent 12d910e9bb
commit 368c8de45c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=43055
2 changed files with 4 additions and 4 deletions

View File

@ -1,5 +1,5 @@
# from: @(#)bsd.lib.mk 5.26 (Berkeley) 5/2/91
# $Id: bsd.lib.mk,v 1.83 1999/01/09 21:50:58 jdp Exp $
# $Id: bsd.lib.mk,v 1.84 1999/01/20 21:42:40 jdp Exp $
#
.if !target(__initialized__)
@ -50,7 +50,7 @@ CFLAGS+= ${DEBUG_FLAGS}
STRIP?= -s
.endif
.if ${OBJFORMAT} != aout || make(checkdpadd)
.if ${OBJFORMAT} != aout || make(checkdpadd) || defined(NEED_LIBNAMES)
.include <bsd.libnames.mk>
.endif

View File

@ -1,5 +1,5 @@
# from: @(#)bsd.prog.mk 5.26 (Berkeley) 6/25/91
# $Id: bsd.prog.mk,v 1.79 1998/10/18 09:35:17 obrien Exp $
# $Id: bsd.prog.mk,v 1.80 1998/12/06 17:14:37 bde Exp $
.if !target(__initialized__)
__initialized__:
@ -156,7 +156,7 @@ all-man:
regress:
.endif
.if ${OBJFORMAT} != aout || make(checkdpadd)
.if ${OBJFORMAT} != aout || make(checkdpadd) || defined(NEED_LIBNAMES)
.include <bsd.libnames.mk>
.endif