summaryrefslogtreecommitdiff
path: root/kerberosV/libexec
diff options
context:
space:
mode:
authorDale Rahn <drahn@cvs.openbsd.org>2001-06-27 18:27:25 +0000
committerDale Rahn <drahn@cvs.openbsd.org>2001-06-27 18:27:25 +0000
commitfdd92150011e40f81d55cc1a507bcb7d87249db7 (patch)
tree8b5397ad9ab54b40bf203365a96e1d301fdacb4d /kerberosV/libexec
parent77495dfc56dcd9fa3f83095f0c6e02d31e3e62ab (diff)
Add libdl via ELF_TOOLCHAIN define.
now builds on alpha/powerpc.
Diffstat (limited to 'kerberosV/libexec')
-rw-r--r--kerberosV/libexec/kadmind/Makefile6
-rw-r--r--kerberosV/libexec/kpasswdd/Makefile6
2 files changed, 10 insertions, 2 deletions
diff --git a/kerberosV/libexec/kadmind/Makefile b/kerberosV/libexec/kadmind/Makefile
index e835b94d49e..9439907b852 100644
--- a/kerberosV/libexec/kadmind/Makefile
+++ b/kerberosV/libexec/kadmind/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.1 2001/06/23 00:24:20 hin Exp $
+# $OpenBSD: Makefile,v 1.2 2001/06/27 18:27:24 drahn Exp $
KRBDEPTH=../..
.include <${.CURDIR}/../../Makefile.inc>
@@ -14,3 +14,7 @@ LDADD+= -lhdb -lkadm5srv -lkrb5 -lkrb -ldes ${LIBROKEN} -lasn1 -lcrypto \
-lcom_err
.include <bsd.prog.mk>
+
+.if (${ELF_TOOLCHAIN:L} == "yes")
+LDADD+= -ldl
+.endif
diff --git a/kerberosV/libexec/kpasswdd/Makefile b/kerberosV/libexec/kpasswdd/Makefile
index d388346cb50..56c8838550a 100644
--- a/kerberosV/libexec/kpasswdd/Makefile
+++ b/kerberosV/libexec/kpasswdd/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.1 2001/06/25 02:04:49 hin Exp $
+# $OpenBSD: Makefile,v 1.2 2001/06/27 18:27:24 drahn Exp $
KRBDEPTH=../..
.include <${.CURDIR}/../../Makefile.inc>
@@ -12,3 +12,7 @@ LDADD+= -lhdb -lkadm5srv -lkrb5 -lkrb -ldes ${LIBROKEN} -lasn1 -lcrypto \
-lcom_err
.include <bsd.prog.mk>
+
+.if (${ELF_TOOLCHAIN:L} == "yes")
+LDADD+= -ldl
+.endif