summary refs log tree commit diff
diff options
context:
space:
mode:
-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 $@