Browse Source

Fix library ordering on the link line for the sake of static arches. It's, in

that order, tls, crypto, ssl.
OPENBSD_5_7
miod 9 years ago
parent
commit
ac5112d544
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/usr.sbin/ntpd/Makefile

+ 2
- 2
src/usr.sbin/ntpd/Makefile View File

@ -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 PROG= ntpd
SRCS= ntpd.c log.c ntp.c ntp_msg.c parse.y config.c \ 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+= -Wshadow -Wpointer-arith -Wcast-qual
CFLAGS+= -Wsign-compare CFLAGS+= -Wsign-compare
YFLAGS= YFLAGS=
LDADD+= -lutil -lcrypto -lssl -ltls
LDADD+= -lutil -ltls -lssl -lcrypto
DPADD+= ${LIBUTIL} ${LIBCRYPTO} ${LIBSSL} ${LIBTLS} DPADD+= ${LIBUTIL} ${LIBCRYPTO} ${LIBSSL} ${LIBTLS}
LINKS= ${BINDIR}/ntpd ${BINDIR}/ntpctl LINKS= ${BINDIR}/ntpd ${BINDIR}/ntpctl
MAN= ntpd.8 ntpd.conf.5 ntpctl.8 MAN= ntpd.8 ntpd.conf.5 ntpctl.8


Loading…
Cancel
Save