diff -u -r -N geomyidae-orig/Makefile geomyidae-arch-libressl/Makefile --- geomyidae-orig/Makefile 2021-03-13 07:54:15.387185713 +0100 +++ geomyidae-arch-libressl/Makefile 2021-03-13 07:55:31.239586207 +0100 @@ -10,9 +10,9 @@ MANDIR = ${PREFIX}/share/man/man8 # Comment to disable TLS support -TLS_CFLAGS = -DENABLE_TLS +TLS_CFLAGS = -DENABLE_TLS -I/usr/include/libressl # libtls is provided using for example LibreSSL. -TLS_LDFLAGS = -ltls +TLS_LDFLAGS = -L/usr/lib/libressl -Wl,-rpath=/usr/lib/libressl -ltls GEOM_CFLAGS = -D_DEFAULT_SOURCE -I. -I/usr/include ${TLS_CFLAGS} ${CFLAGS} GEOM_LDFLAGS = -L/usr/lib -L. ${TLS_LDFLAGS} ${LDFLAGS}