help on how to install tls.h on debian - geomyidae - A small C-based gopherd.
HTML git clone git://bitreich.org/geomyidae/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/geomyidae/
DIR Log
DIR Files
DIR Refs
DIR Tags
DIR README
DIR LICENSE
---
DIR commit d153299b5c0c1c6e09758a3435b1867b03d5e61b
DIR parent f947f2ed8c2f505aea020794c1a9addd1a77bfbf
HTML Author: Marc Chantreux <mc@unistra.fr>
Date: Mon, 14 Jul 2025 19:16:46 +0200
help on how to install tls.h on debian
Signed-off-by: Christoph Lohmann <20h@r-36.net>
Diffstat:
M Makefile | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
---
DIR diff --git a/Makefile b/Makefile
@@ -12,7 +12,9 @@ MANDIR = ${PREFIX}/share/man/man8
# Comment to disable TLS support
TLS_CFLAGS = -DENABLE_TLS
# libtls is provided using for example LibreSSL.
-TLS_LDFLAGS = -ltls
+# (apt install libtls-dev on debian)
+TLS_LDFLAGS = -ltls
+
GEOM_CFLAGS = -D_DEFAULT_SOURCE -I. -I/usr/include ${TLS_CFLAGS} ${CFLAGS}
GEOM_LDFLAGS = -L/usr/lib -L. ${TLS_LDFLAGS} ${LDFLAGS}