summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2019-11-21 16:45:40 -0500
committerJune McEnroe <june@causal.agency>2019-11-21 16:45:40 -0500
commit3051555d4e7975bcc05a9fef86b4016637a14832 (patch)
tree0790a7a2d6828aa4510afd39c88e5e834a844bfd
parentFix wordcmp return value when the words have differing lengths (diff)
downloadpounce-3b263dc0704356ae6f7e38a62152c1ac38f221b2.tar.gz
pounce-3b263dc0704356ae6f7e38a62152c1ac38f221b2.zip
Link calico with libcrypto on Linux 1.0p1
For the strlcpy implementation.
-rw-r--r--Linux.mk1
-rw-r--r--Makefile2
2 files changed, 2 insertions, 1 deletions
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 $@