(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
+Sat Apr 29 01:26:06 1995 Theodore Y. Ts'o <tytso@dcl>
+
+ * 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 <tytso@dcl>
* login.c (main): Don't use setreuid() to play games with the real
$(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