From ac5112d544d1c12adb320610129a79b0e32374ed Mon Sep 17 00:00:00 2001 From: miod <> Date: Tue, 17 Feb 2015 05:48:18 +0000 Subject: [PATCH] Fix library ordering on the link line for the sake of static arches. It's, in that order, tls, crypto, ssl. --- src/usr.sbin/ntpd/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/usr.sbin/ntpd/Makefile b/src/usr.sbin/ntpd/Makefile index 0025aae4..3150e4ad 100644 --- a/src/usr.sbin/ntpd/Makefile +++ b/src/usr.sbin/ntpd/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.13 2015/02/10 06:40:08 reyk Exp $ +# $OpenBSD: Makefile,v 1.14 2015/02/17 05:48:18 miod Exp $ PROG= ntpd SRCS= ntpd.c log.c ntp.c ntp_msg.c parse.y config.c \ @@ -10,7 +10,7 @@ CFLAGS+= -Wmissing-declarations CFLAGS+= -Wshadow -Wpointer-arith -Wcast-qual CFLAGS+= -Wsign-compare YFLAGS= -LDADD+= -lutil -lcrypto -lssl -ltls +LDADD+= -lutil -ltls -lssl -lcrypto DPADD+= ${LIBUTIL} ${LIBCRYPTO} ${LIBSSL} ${LIBTLS} LINKS= ${BINDIR}/ntpd ${BINDIR}/ntpctl MAN= ntpd.8 ntpd.conf.5 ntpctl.8