Link the libraries twice due to circular dependency in the libraries.
authorTheodore Tso <tytso@mit.edu>
Sat, 29 Apr 1995 05:28:26 +0000 (05:28 +0000)
committerTheodore Tso <tytso@mit.edu>
Sat, 29 Apr 1995 05:28:26 +0000 (05:28 +0000)
(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
src/appl/bsd/Makefile.in

index 4936f43567ba1beb30697f7f8e35c44892fb2aa5..b3a9d4fbb3f25785332278b67fa8fc56155db00b 100644 (file)
@@ -1,3 +1,9 @@
+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
index 6eee974f844a5f4437358921dad537e2ccd5d1be..4f01dd5d229074b98d16b51262f4955933bbb185 100644 (file)
@@ -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