summaryrefslogtreecommitdiffstats
path: root/src/tests/threads
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@mit.edu>2005-06-21 02:54:15 +0000
committerKen Raeburn <raeburn@mit.edu>2005-06-21 02:54:15 +0000
commit7eb3f3dedaa4c0edbe14c3d3d9617051c31c3e69 (patch)
treece31677bc201fe68be43eedee414dd1122e3687b /src/tests/threads
parent8e1a4096998997ca87d7f40d40992224968963b7 (diff)
downloadkrb5-7eb3f3dedaa4c0edbe14c3d3d9617051c31c3e69.tar.gz
krb5-7eb3f3dedaa4c0edbe14c3d3d9617051c31c3e69.tar.xz
krb5-7eb3f3dedaa4c0edbe14c3d3d9617051c31c3e69.zip
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
Diffstat (limited to 'src/tests/threads')
-rw-r--r--src/tests/threads/ChangeLog5
-rw-r--r--src/tests/threads/Makefile.in4
2 files changed, 7 insertions, 2 deletions
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 <raeburn@mit.edu>
+
+ * Makefile.in (t_rcache, prof1): Use THREAD_LINKOPTS instead of
+ -lpthread.
+
2004-12-12 Ken Raeburn <raeburn@mit.edu>
* 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