From 4676b3e39048e42f4d1866e1170443c4f8470caf Mon Sep 17 00:00:00 2001 From: Theodore Tso Date: Sat, 29 Apr 1995 05:28:26 +0000 Subject: [PATCH] Link the libraries twice due to circular dependency in the libraries. (read_password in libdes425.a depends on krb5_read_password in libkrb5.a) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5659 dc483132-0cff-0310-8789-dd5450dbe970 --- src/appl/bsd/ChangeLog | 6 ++++++ src/appl/bsd/Makefile.in | 6 +++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/src/appl/bsd/ChangeLog b/src/appl/bsd/ChangeLog index 4936f4356..b3a9d4fbb 100644 --- a/src/appl/bsd/ChangeLog +++ b/src/appl/bsd/ChangeLog @@ -1,3 +1,9 @@ +Sat Apr 29 01:26:06 1995 Theodore Y. Ts'o + + * Makefile.in (login.krb5): Link the libraries twice due to + circular dependency in the libraries. (read_password in + libdes425.a depends on krb5_read_password in libkrb5.a) + Fri Apr 28 20:33:06 1995 Theodore Y. Ts'o * login.c (main): Don't use setreuid() to play games with the real diff --git a/src/appl/bsd/Makefile.in b/src/appl/bsd/Makefile.in index 6eee974f8..4f01dd5d2 100644 --- a/src/appl/bsd/Makefile.in +++ b/src/appl/bsd/Makefile.in @@ -66,8 +66,12 @@ install:: $(INSTALL_PROGRAM) krlogind $(DESTDIR)$(SERVER_BINDIR)/krlogind $(INSTALL_DATA) $(srcdir)/krlogind.M ${DESTDIR}$(SERVER_MANDIR)/krlogind.8 +# +# We load the libraries twice here since des425 has a dependency on +# krb5_read_passwrd in krb5.a. Sigh, circular references. +# login.krb5: login.o logutil.o $(SETENVOBJ) $(LIBOBJS) $(DEPKLIB) - $(CC) $(CFLAGS) -o login.krb5 login.o logutil.o $(SETENVOBJ) $(LIBOBJS) $(KLIB) $(LIBS) $(LOGINLIBS) + $(CC) $(CFLAGS) -o login.krb5 login.o logutil.o $(SETENVOBJ) $(LIBOBJS) $(KLIB) $(KLIB) $(LIBS) $(LOGINLIBS) install:: $(INSTALL_PROGRAM) login.krb5 $(DESTDIR)$(SERVER_BINDIR)/login.krb5 -- 2.26.2