From 7eb3f3dedaa4c0edbe14c3d3d9617051c31c3e69 Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Tue, 21 Jun 2005 02:54:15 +0000 Subject: Use DL_LIB and THREAD_LINKOPTS instead of explicitly specifying the dl and pthread libraries by name. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17265 dc483132-0cff-0310-8789-dd5450dbe970 --- src/tests/threads/ChangeLog | 5 +++++ src/tests/threads/Makefile.in | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) (limited to 'src/tests/threads') diff --git a/src/tests/threads/ChangeLog b/src/tests/threads/ChangeLog index 32fde2353a..704a052534 100644 --- a/src/tests/threads/ChangeLog +++ b/src/tests/threads/ChangeLog @@ -1,3 +1,8 @@ +2005-06-20 Ken Raeburn + + * Makefile.in (t_rcache, prof1): Use THREAD_LINKOPTS instead of + -lpthread. + 2004-12-12 Ken Raeburn * prof1.c: New file. diff --git a/src/tests/threads/Makefile.in b/src/tests/threads/Makefile.in index c164717e78..5386d00e1b 100644 --- a/src/tests/threads/Makefile.in +++ b/src/tests/threads/Makefile.in @@ -16,7 +16,7 @@ run-t_rcache: t_rcache $(RUN_SETUP) ./t_rcache -n $(N) t_rcache: t_rcache.o $(KRB5_BASE_DEPLIBS) - $(CC_LINK) -o t_rcache t_rcache.o $(KRB5_BASE_LIBS) -lpthread + $(CC_LINK) -o t_rcache t_rcache.o $(KRB5_BASE_LIBS) $(THREAD_LINKOPTS) syms: syms.o $(CC_LINK) -o syms syms.o @@ -25,7 +25,7 @@ run-syms: syms $(RUN_SETUP) ./syms prof1: prof1.o $(KRB5_BASE_DEPLIBS) - $(CC_LINK) -o prof1 prof1.o $(KRB5_BASE_LIBS) -lpthread + $(CC_LINK) -o prof1 prof1.o $(KRB5_BASE_LIBS) $(THREAD_LINKOPTS) prof1.o: prof1.c -- cgit