summaryrefslogtreecommitdiffstats
path: root/usr.bin/login
diff options
context:
space:
mode:
authorjdp <jdp@FreeBSD.org>1998-11-21 18:27:15 +0000
committerjdp <jdp@FreeBSD.org>1998-11-21 18:27:15 +0000
commit105a91137fd7aba35c163274fc90884ab42497ee (patch)
tree1958481f7e6b93d375c5f171844c1d02bfc87391 /usr.bin/login
parent6da6538f1a02d614d762116c5bffcbfce77dade8 (diff)
downloadFreeBSD-src-105a91137fd7aba35c163274fc90884ab42497ee.zip
FreeBSD-src-105a91137fd7aba35c163274fc90884ab42497ee.tar.gz
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
Diffstat (limited to 'usr.bin/login')
-rw-r--r--usr.bin/login/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/login/Makefile b/usr.bin/login/Makefile
index e992c31..c9a40d3 100644
--- a/usr.bin/login/Makefile
+++ b/usr.bin/login/Makefile
@@ -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
OpenPOWER on IntegriCloud