From 3051555d4e7975bcc05a9fef86b4016637a14832 Mon Sep 17 00:00:00 2001 From: "C. McEnroe" Date: Thu, 21 Nov 2019 16:45:40 -0500 Subject: Link calico with libcrypto on Linux For the strlcpy implementation. --- Linux.mk | 1 + Makefile | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Linux.mk b/Linux.mk index 9627af9..15e704f 100644 --- a/Linux.mk +++ b/Linux.mk @@ -1,5 +1,6 @@ CFLAGS += -D_GNU_SOURCE -D'CERTBOT_PATH="/etc/letsencrypt"' LDLIBS = -lcrypt -lpthread -l:libtls.a -l:libssl.a -l:libcrypto.a +LDLIBS_calico = -l:libcrypto.a MANDIR = ${PREFIX}/share/man ETCDIR = /etc diff --git a/Makefile b/Makefile index c0ea331..3ea6c06 100644 --- a/Makefile +++ b/Makefile @@ -28,7 +28,7 @@ dev: tags all all: ${BINS} calico: dispatch.o - ${CC} ${LDFLAGS} dispatch.o -o $@ + ${CC} ${LDFLAGS} dispatch.o ${LDLIBS_calico} -o $@ pounce: ${OBJS} ${CC} ${LDFLAGS} ${OBJS} ${LDLIBS} -o $@ -- cgit 1.4.1