NetBSD/usr.bin/su
he 8e8728c45c Introduce PAM_STATIC_LDADD and PAM_STATIC_DPADD. When compiling
with MKPIC=no, possibly because the target does not support shared
libraries, these include libraries required to resolve all symbols
which end up referenced from PAM-using applications.  The libraries
presently required are -lcrypt, -lrpcsvc and -lutil.

Add use of these variables which are currently set up to use PAM,
so that they compile when MKPIC=no.

Also, in the telnetd case, reorder the order of the libraries, so
that libtelnet.a comes before -ltermcap and -lutil, again to fix
link error when MKPIC=no.

Discussed with thorpej and christos.
2005-03-04 20:41:08 +00:00
..
Makefile Introduce PAM_STATIC_LDADD and PAM_STATIC_DPADD. When compiling 2005-03-04 20:41:08 +00:00
su_pam.c Don't wait for any process, just our child. pam sessions can fork other 2005-02-25 21:49:43 +00:00
su.1 Fix unmatched .El warning. 2005-02-28 02:30:54 +00:00
su.c Restore su.c to version 1.58, plus minor prototyping. Split pam 2005-01-10 03:11:50 +00:00