summaryrefslogtreecommitdiffstats
path: root/src/lib
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/lib
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/lib')
-rw-r--r--src/lib/kadm5/unit-test/ChangeLog3
-rw-r--r--src/lib/kadm5/unit-test/Makefile.in2
2 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/kadm5/unit-test/ChangeLog b/src/lib/kadm5/unit-test/ChangeLog
index 67c82bcd3..446c9af44 100644
--- a/src/lib/kadm5/unit-test/ChangeLog
+++ b/src/lib/kadm5/unit-test/ChangeLog
@@ -1,5 +1,8 @@
2005-06-20 Ken Raeburn <raeburn@mit.edu>
+ * Makefile.in (KDB_DEP_LIB): Use DL_LIB and THREAD_LINKOPTS
+ instead of explicitly using -ldl and -lpthread.
+
Novell merge.
* Makefile.in:
* destroy-test.c:
diff --git a/src/lib/kadm5/unit-test/Makefile.in b/src/lib/kadm5/unit-test/Makefile.in
index 242e9c256..88c0905b3 100644
--- a/src/lib/kadm5/unit-test/Makefile.in
+++ b/src/lib/kadm5/unit-test/Makefile.in
@@ -5,7 +5,7 @@ BUILDTOP=$(REL)..$(S)..$(S)..
DEFINES = -DUSE_KADM5_API_VERSION=1
PROG_LIBPATH=-L$(TOPLIBD)
PROG_RPATH=$(KRB5_LIBDIR)
-KDB_DEP_LIB=-ldl -lpthread
+KDB_DEP_LIB=$(DL_LIB) $(THREAD_LINKOPTS)
all:: init-test destroy-test client-handle-test client-iter-test
all:: randkey-test server-handle-test lock-test server-iter-test