summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usr.sbin/ldapctl/Makefile6
-rw-r--r--usr.sbin/ldapd/Makefile6
2 files changed, 6 insertions, 6 deletions
diff --git a/usr.sbin/ldapctl/Makefile b/usr.sbin/ldapctl/Makefile
index 50befd74145..632a87c3873 100644
--- a/usr.sbin/ldapctl/Makefile
+++ b/usr.sbin/ldapctl/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.6 2016/05/01 10:40:27 tb Exp $
+# $OpenBSD: Makefile,v 1.7 2017/01/20 09:54:44 deraadt Exp $
.PATH: ${.CURDIR}/../ldapd
@@ -7,8 +7,8 @@ MAN= ldapctl.8
SRCS= ldapctl.c parse.y btree.c log.c ber.c util.c \
index.c attributes.c schema.c syntax.c matching.c
-LDADD= -ltls -levent -lz -lutil
-DPADD= ${LIBTLS} ${LIBEVENT} ${LIBZ} ${LIBUTIL}
+LDADD= -levent -ltls -lssl -lcrypto -lz -lutil
+DPADD= ${LIBEVENT} ${LIBTLS} ${LIBSSL} ${LIBCRYPTO} ${LIBZ} ${LIBUTIL}
CFLAGS+= -I${.CURDIR}/../ldapd
CFLAGS+= -Wall -Wstrict-prototypes -Wmissing-prototypes
CFLAGS+= -Wmissing-declarations
diff --git a/usr.sbin/ldapd/Makefile b/usr.sbin/ldapd/Makefile
index 5d2aea00428..37eda13dcda 100644
--- a/usr.sbin/ldapd/Makefile
+++ b/usr.sbin/ldapd/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.13 2016/05/01 00:32:37 jmatthew Exp $
+# $OpenBSD: Makefile,v 1.14 2017/01/20 09:54:44 deraadt Exp $
PROG= ldapd
MAN= ldapd.8 ldapd.conf.5
@@ -8,8 +8,8 @@ SRCS= ber.c log.c control.c \
auth.c modify.c index.c evbuffer_tls.c \
validate.c uuid.c schema.c imsgev.c syntax.c matching.c
-LDADD= -ltls -levent -lz -lutil
-DPADD= ${LIBEVENT} ${LIBTLS} ${LIBCRYPTO} ${LIBSSL} ${LIBZ} ${LIBUTIL}
+LDADD= -levent -ltls -lssl -lcrypto -lz -lutil
+DPADD= ${LIBEVENT} ${LIBTLS} ${LIBSSL} ${LIBCRYPTO} ${LIBZ} ${LIBUTIL}
CFLAGS+= -I${.CURDIR} -g
CFLAGS+= -Wall -Wstrict-prototypes -Wmissing-prototypes
CFLAGS+= -Wmissing-declarations