diff options
author | jdp <jdp@FreeBSD.org> | 1999-01-22 12:41:27 +0000 |
---|---|---|
committer | jdp <jdp@FreeBSD.org> | 1999-01-22 12:41:27 +0000 |
commit | d149f7d8f98c787fe98a73bfb80e4f47195ed035 (patch) | |
tree | d5eede9f38eda120bdc774f01a1c582a2371c14f /share/mk/bsd.lib.mk | |
parent | 6f61fb4448238197dd556193dadcbd9d832453a6 (diff) | |
download | FreeBSD-src-d149f7d8f98c787fe98a73bfb80e4f47195ed035.zip FreeBSD-src-d149f7d8f98c787fe98a73bfb80e4f47195ed035.tar.gz |
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.
Diffstat (limited to 'share/mk/bsd.lib.mk')
-rw-r--r-- | share/mk/bsd.lib.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/share/mk/bsd.lib.mk b/share/mk/bsd.lib.mk index 0bfc484..aea0ff2 100644 --- a/share/mk/bsd.lib.mk +++ b/share/mk/bsd.lib.mk @@ -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 |