Work around the problem that login won't link if NOSHARED=yes,

because libpam is built shared only.  There is a way to build PAM
into a static library that contains all (or a selected subset) of
the modules.  But our Makefiles don't support that yet.  Until I get
that working, just force NOSHARED=no in login's Makefile.  Of
course, it still won't work if NOPIC is set.

Submitted by:	bde
This commit is contained in:
John Polstra 1998-11-21 18:27:15 +00:00
parent f21a1a1015
commit cc4b11542b

View File

@ -1,5 +1,5 @@
# From: @(#)Makefile 8.1 (Berkeley) 7/19/93
# $Id: Makefile,v 1.23 1998/11/11 05:47:45 jdp Exp $
# $Id: Makefile,v 1.24 1998/11/21 02:22:14 jdp Exp $
PROG= login
MAN1= login.1
@ -10,6 +10,7 @@ CFLAGS+=-Wall -DLOGIN_ACCESS -DLOGALL
DPADD= ${LIBUTIL} ${LIBCRYPT} ${LIBPAM}
LDADD= -lutil -lcrypt -lpam
NOSHARED=no
BINMODE=4555
INSTALLFLAGS=-fschg