* Makefile.in (t_locate_kdc): Use normal CC_LINK rule for linking test program
authorKen Raeburn <raeburn@mit.edu>
Wed, 13 Nov 2002 01:50:12 +0000 (01:50 +0000)
committerKen Raeburn <raeburn@mit.edu>
Wed, 13 Nov 2002 01:50:12 +0000 (01:50 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14994 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb5/os/ChangeLog
src/lib/krb5/os/Makefile.in

index 1d1ed8bf98a600fecb1edf3e4ec4c09c342fd286..aaccf45a948a025a7e4a62e31207f77df521db5c 100644 (file)
@@ -1,3 +1,8 @@
+2002-11-12  Ken Raeburn  <raeburn@mit.edu>
+
+       * Makefile.in (t_locate_kdc): Use normal CC_LINK rule for linking
+       test program.
+
 2002-10-28  Ken Raeburn  <raeburn@mit.edu>
 
        * localaddr.c (print_addr) [TEST]: Don't mix size_t and socklen_t,
index e5c20ac83d0098881f7b5d7507e9e3b23ca12ea6..782a2fbedf929a3be63badc03a175963a0e842c6 100644 (file)
@@ -173,8 +173,8 @@ t_localaddr: localaddr.c
        $(CC) $(ALL_CFLAGS) -DTEST -o t_localaddr $(srcdir)/localaddr.c $(LIBS)
 
 t_locate_kdc: t_locate_kdc.o
-       $(CC) $(ALL_CFLAGS) -o t_locate_kdc t_locate_kdc.o \
-               -static -L../.. -lkrb5 -lk5crypto -lcom_err @GEN_LIB@ $(LIBS)
+       $(CC_LINK) $(ALL_CFLAGS) -o t_locate_kdc t_locate_kdc.o \
+               $(KRB5_BASE_LIBS)
 t_locate_kdc.o: t_locate_kdc.c locate_kdc.c
 
 LCLINT=lclint