summaryrefslogtreecommitdiff
path: root/geomyidae-git/geomyidae-libressl.patch
blob: e40543a5c4532f90ec1a099331fe09b94d100f3d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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}